diff --git a/package.json b/package.json index 90735f12..f296f961 100644 --- a/package.json +++ b/package.json @@ -101,4 +101,4 @@ "workbox-window": "^7.3.0" }, "packageManager": "yarn@1.22.18" -} \ No newline at end of file +} diff --git a/src/components/dialog/SubscribeFilesDialog.vue b/src/components/dialog/SubscribeFilesDialog.vue index 5a1021c6..64b2477d 100644 --- a/src/components/dialog/SubscribeFilesDialog.vue +++ b/src/components/dialog/SubscribeFilesDialog.vue @@ -132,59 +132,63 @@ onBeforeMount(() => { - - - {{ item.episode_number }}. {{ item.title }} - - - - 【{{ file.site_name }}】{{ file.torrent_title }} - - - - {{ file.file_path }} - - 没有数据 - + + + + {{ item.episode_number }}. {{ item.title }} + + + + 【{{ file.site_name }}】{{ file.torrent_title }} + + + + {{ file.file_path }} + + 没有数据 + + - - - {{ item.episode_number }}. {{ item.title }} - - - {{ file.file_path }} - - 没有数据 - + + + + {{ item.episode_number }}. {{ item.title }} + + + {{ file.file_path }} + + 没有数据 + + diff --git a/src/pages/downloading.vue b/src/pages/downloading.vue index 4b32dd11..53c769aa 100644 --- a/src/pages/downloading.vue +++ b/src/pages/downloading.vue @@ -42,7 +42,9 @@ onMounted(async () => { - + + + diff --git a/src/pages/setting.vue b/src/pages/setting.vue index 728179a9..2ba52f18 100644 --- a/src/pages/setting.vue +++ b/src/pages/setting.vue @@ -70,7 +70,9 @@ function jumpTab(tab: string) { - + + + diff --git a/src/pages/subscribe.vue b/src/pages/subscribe.vue index 9b8658f1..14f29975 100644 --- a/src/pages/subscribe.vue +++ b/src/pages/subscribe.vue @@ -30,17 +30,23 @@ function jumpTab(tab: string) { - + + + - + + + - + + + diff --git a/src/views/dashboard/AnalyticsCpu.vue b/src/views/dashboard/AnalyticsCpu.vue index 3dbbf744..44f5120a 100644 --- a/src/views/dashboard/AnalyticsCpu.vue +++ b/src/views/dashboard/AnalyticsCpu.vue @@ -23,6 +23,8 @@ const variableTheme = controlledComputed( () => vuetifyTheme.current.value.variables, ) +const chartKey = ref(0) + // 定时器 let refreshTimer: NodeJS.Timeout | null = null @@ -129,6 +131,10 @@ onUnmounted(() => { refreshTimer = null } }) + +onActivated(() => { + chartKey.value += 1 +}) @@ -142,7 +148,7 @@ onUnmounted(() => { CPU - + 当前:{{ current }}% diff --git a/src/views/dashboard/AnalyticsMemory.vue b/src/views/dashboard/AnalyticsMemory.vue index 26752c06..00b4d2f3 100644 --- a/src/views/dashboard/AnalyticsMemory.vue +++ b/src/views/dashboard/AnalyticsMemory.vue @@ -24,6 +24,8 @@ const variableTheme = controlledComputed( () => vuetifyTheme.current.value.variables, ) +const chartKey = ref(0) + // 定时器 let refreshTimer: NodeJS.Timeout | null = null @@ -135,6 +137,10 @@ onUnmounted(() => { refreshTimer = null } }) + +onActivated(() => { + chartKey.value += 1 +}) @@ -148,7 +154,7 @@ onUnmounted(() => { 内存 - + 当前:{{ formatBytes(usedMemory) }}
当前:{{ current }}%
当前:{{ formatBytes(usedMemory) }}