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" > 预览成果