From 80c4a0b67b1ff269959fd3852372aa4209b43722 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AF=92=E5=AF=92?= <2596194220@qq.com> Date: Thu, 8 Jan 2026 07:55:53 +0800 Subject: [PATCH] =?UTF-8?q?fix(bug):=E4=BF=AE=E5=A4=8D=E5=AD=90=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1=E5=8D=A1=E7=89=87=E7=82=B9=E5=87=BB=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/src/pages/task/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderer/src/pages/task/index.vue b/src/renderer/src/pages/task/index.vue index 44db06e..43af991 100644 --- a/src/renderer/src/pages/task/index.vue +++ b/src/renderer/src/pages/task/index.vue @@ -171,7 +171,7 @@ onUnmounted(() => { v-for="book in bookSubTasks" :key="book.id" class="batch-card group bg-white p-5 flex flex-col border border-slate-100 shadow-sm hover:shadow-md hover:border-slate-200 transition-all duration-300 rounded-xl relative overflow-hidden" - @click="book.status === 'COMPLETED' ? handlePreview(book.id) : null" + >
{ type="secondary" class="rounded-lg text-[#7816ff] bg-purple-50 border-none hover:bg-purple-100" :disabled="book.status !== 'COMPLETED'" - @click.stop="handlePreview(book.id)" + @click="book.status === 'COMPLETED' ? handlePreview(book.id) : null" > 预览成果