mirror of
https://github.com/Megghy/vtsuru.live.git
synced 2025-12-07 02:46:55 +08:00
fix live detail loading
This commit is contained in:
@@ -34,6 +34,7 @@ import {
|
||||
NSwitch,
|
||||
NTag,
|
||||
NTooltip,
|
||||
NVirtualList,
|
||||
} from 'naive-ui'
|
||||
import { computed, nextTick, onMounted, ref, watch } from 'vue'
|
||||
import LiveInfoContainer from './LiveInfoContainer.vue'
|
||||
@@ -326,16 +327,6 @@ onMounted(() => {
|
||||
<NModal v-model:show="showModal" @after-leave="userDanmakus = undefined" preset="card" :style="'width: 600px;max-width: 90vw;max-height: 90vh;'" content-style="overflow-y: auto">
|
||||
<template #header>
|
||||
{{ userDanmakus?.[0].uName }}
|
||||
<NPopover>
|
||||
<template #trigger>
|
||||
<NButton text @click="ToUserSpace(userDanmakus?.[0].uId ?? 0)">
|
||||
<template #icon>
|
||||
<NIcon :component="Search24Filled" />
|
||||
</template>
|
||||
</NButton>
|
||||
</template>
|
||||
查询发言记录
|
||||
</NPopover>
|
||||
</template>
|
||||
<template #header-extra>
|
||||
<NSwitch v-model:value="modalShowTools" size="small">
|
||||
|
||||
@@ -118,7 +118,7 @@ watch(
|
||||
<NNumberAnimation :from="0" :to="live.totalIncomeWithGuard" show-separator />
|
||||
</span>
|
||||
</template>
|
||||
<NNumberAnimation :from="0" :to="live.totalIncome" show-separator />
|
||||
{{ live.totalIncome }}
|
||||
</NTooltip>
|
||||
</NStatistic>
|
||||
</transition>
|
||||
|
||||
Reference in New Issue
Block a user