feat: 选角候选展示生成中状态

This commit is contained in:
GouJ committed 2026-09-24 22:42:26 +08:00
1 parent 6c31a21ef6
commit cd710bf921
1 file changed
+7 -2
@@ -108,8 +108,13 @@ const formModel = computed(() => ({ prompt: prompt.value }))
</NCheckbox>
<div class="dialog-footer">
<NButton @click="open = false">取消</NButton>
<NButton :disabled="disabled || !valid || !acknowledged" type="primary" attr-type="submit">
确认生成候选
<NButton
:disabled="disabled || !valid || !acknowledged"
:loading="disabled"
type="primary"
attr-type="submit"
>
{{ disabled ? '生成中…' : '确认生成候选' }}
</NButton>
</div>
</AppForm>