fix(short-drama-agent-front): 修复拆解进度展示与问题交互

This commit is contained in:
GJ committed 2026-10-17 10:21:44 +08:00
1 parent 3414cc8232
commit db91a4b871
19 files changed
+870 -150

No files matched your search

+3 -1
View File
@@ -21,6 +21,8 @@ withDefaults(
}
)
const open = defineModel<boolean>('open', { default: false })
/** 工具弹窗完全关闭后通知调用方,便于切换独立的问题弹窗。 */
const emit = defineEmits<{ closed: [] }>()
</script>
<template>
@@ -41,7 +43,7 @@ const open = defineModel<boolean>('open', { default: false })
<span class="workspace-tools-label">{{ pending ? pendingLabel || '任务执行中' : label }}</span
><span v-if="hasReceipt" class="workspace-tools-receipt text-xs text-muted"> · 有回执</span>
</NButton>
<AppDialog v-model:open="open" :title="title" description="" wide>
<AppDialog v-model:open="open" :title="title" description="" wide @closed="emit('closed')">
<div class="workspace-tools-body"><slot /></div>
</AppDialog>
</template>