diff --git a/src/@core/utils/formatters.ts b/src/@core/utils/formatters.ts index aab5eded..fb8a0141 100644 --- a/src/@core/utils/formatters.ts +++ b/src/@core/utils/formatters.ts @@ -56,7 +56,7 @@ export const formatFileSize = (bytes: number) => { throw new Error("字节数不能为负数。"); } - const units = ["B", "KB", "MB", "GB", "TB"]; + const units = ["B", "K", "M", "G", "T"]; let size = bytes; let unitIndex = 0; diff --git a/src/api/types.ts b/src/api/types.ts index 902c316d..49ea84da 100644 --- a/src/api/types.ts +++ b/src/api/types.ts @@ -393,14 +393,14 @@ export interface MetaInfo { season_episode: string // 资源类型字符串,含分辨率 resource_term: string - // 资源类型字符串,不含分辨率 - edtion: string // 发布组/字幕组字符串 release_group: string // 视频编码 video_term: string // 音频编码 audio_term: string + // 资源类型+特效 + edition: string } diff --git a/src/components/cards/SiteCard.vue b/src/components/cards/SiteCard.vue index 6b8ef2bb..92c90d14 100644 --- a/src/components/cards/SiteCard.vue +++ b/src/components/cards/SiteCard.vue @@ -258,7 +258,7 @@ onMounted(() => { @@ -267,13 +267,13 @@ onMounted(() => { {{ updateButtonText }} - + 编辑 - + diff --git a/src/components/cards/SubscribeCard.vue b/src/components/cards/SubscribeCard.vue index 5921f81a..2b5d4f80 100644 --- a/src/components/cards/SubscribeCard.vue +++ b/src/components/cards/SubscribeCard.vue @@ -194,7 +194,7 @@ const subscribeForm = reactive({ variant="plain" :base-color="item.props.color" :key="i" - @click="item.props.click" + @click.stop="item.props.click" >