mirror of
https://github.com/Megghy/vtsuru.live.git
synced 2025-12-07 02:46:55 +08:00
重构多个组件以优化代码格式和可读性,删除不必要的文件,更新类型定义,添加数据分析路由
This commit is contained in:
@@ -51,9 +51,15 @@ onActivated(async () => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<NSpin v-if="isLoading" show />
|
||||
<NSpin
|
||||
v-if="isLoading"
|
||||
show
|
||||
/>
|
||||
<template v-else>
|
||||
<NButton @click="router.push({ name: 'manage-live' })" text>
|
||||
<NButton
|
||||
text
|
||||
@click="router.push({ name: 'manage-live' })"
|
||||
>
|
||||
{{ '< 返回' }}
|
||||
</NButton>
|
||||
<DanmakuContainer
|
||||
@@ -71,6 +77,9 @@ onActivated(async () => {
|
||||
:item-range="100"
|
||||
:item-height="25"
|
||||
/>
|
||||
<NEmpty v-else description="无数据" />
|
||||
<NEmpty
|
||||
v-else
|
||||
description="无数据"
|
||||
/>
|
||||
</template>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user