feat: 选角候选展示生成中状态
This commit is contained in:
1 parent
6c31a21ef6
commit
cd710bf921
1 file changed
+7
-2
@@ -108,8 +108,13 @@ const formModel = computed(() => ({ prompt: prompt.value }))
|
|||||||
</NCheckbox>
|
</NCheckbox>
|
||||||
<div class="dialog-footer">
|
<div class="dialog-footer">
|
||||||
<NButton @click="open = false">取消</NButton>
|
<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>
|
</NButton>
|
||||||
</div>
|
</div>
|
||||||
</AppForm>
|
</AppForm>
|
||||||
|
|||||||
Reference in new issue
Block a user