From a4cc1cc615ebd8dae339b6c52e1e364cc182f3ec Mon Sep 17 00:00:00 2001 From: Attente <19653207+wikrin@users.noreply.github.com> Date: Thu, 26 Dec 2024 08:24:11 +0800 Subject: [PATCH] =?UTF-8?q?feat(dialog):=20=E4=BB=85=E5=9C=A8=E6=8C=87?= =?UTF-8?q?=E5=AE=9A=E6=9D=A1=E4=BB=B6=E4=B8=8B=E5=90=AF=E7=94=A8`?= =?UTF-8?q?=E6=8C=87=E5=AE=9A=E9=9B=86=E6=95=B0`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/dialog/ReorganizeDialog.vue | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/components/dialog/ReorganizeDialog.vue b/src/components/dialog/ReorganizeDialog.vue index 6c92e310..7ac2df6b 100644 --- a/src/components/dialog/ReorganizeDialog.vue +++ b/src/components/dialog/ReorganizeDialog.vue @@ -65,6 +65,13 @@ const dialogTitle = computed(() => { return '手动整理' }) +// 禁用指定集数 +const disableEpisodeDetail = computed(() => { + if (props.items) { + return !(props.items.length === 1 && props.items[0].type !== 'dir') + } +}) + // 表单 const transferForm = reactive({ fileitem: {} as FileItem, @@ -318,6 +325,7 @@ onUnmounted(() => {