From b3f616ddc61f3f59b185bc7d7ae09d48f7af0994 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Sat, 19 Oct 2024 08:10:05 +0800 Subject: [PATCH] Refactor SubscribeFilesDialog component to improve layout and text size handling --- src/components/dialog/SubscribeFilesDialog.vue | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/components/dialog/SubscribeFilesDialog.vue b/src/components/dialog/SubscribeFilesDialog.vue index 0efe403b..5a1021c6 100644 --- a/src/components/dialog/SubscribeFilesDialog.vue +++ b/src/components/dialog/SubscribeFilesDialog.vue @@ -2,7 +2,6 @@ import api from '@/api' import { SubscrbieInfo } from '@/api/types' import { useDisplay } from 'vuetify' -import { VCardTitle } from 'vuetify/lib/components/index.mjs' // 显示器宽度 const display = useDisplay() @@ -44,7 +43,7 @@ async function loadSubscribeFilesInfo() { // 计算下载文件列表 const downloadInfos = computed(() => { - return Object.keys(subScribeInfo.value?.episodes ?? {}).map((key: number) => { + return Object.keys(subScribeInfo.value?.episodes ?? {}).map((key: any) => { const item = subScribeInfo.value?.episodes[key] return { episode_number: key, @@ -61,7 +60,7 @@ const totalCount = computed(() => { // 计算媒体库文件列表 const libraryInfos = computed(() => { - return Object.keys(subScribeInfo.value?.episodes ?? {}).map((key: number) => { + return Object.keys(subScribeInfo.value?.episodes ?? {}).map((key: any) => { const item = subScribeInfo.value?.episodes[key] return { episode_number: key, @@ -151,12 +150,12 @@ onBeforeMount(() => {
{{ item.episode_number }}. {{ item.title }}
@@ -182,7 +181,7 @@ onBeforeMount(() => {
{{ item.episode_number }}. {{ item.title }}