feat(short-drama-agent-front): 完善视觉资产审核流程
This commit is contained in:
1 parent
dc8bb17a23
commit
b88ad8770f
45 files changed
+2258
-352
No files matched your search
@@ -110,11 +110,13 @@ const {
|
||||
submitting,
|
||||
error: previewError,
|
||||
staleNotice,
|
||||
recoveryNotice,
|
||||
canSubmit,
|
||||
loadPreview,
|
||||
submit
|
||||
} = useImageGenerationPreview({
|
||||
open,
|
||||
recoveryTarget: () => (props.subjectId ? 'identity:' + props.subjectId : ''),
|
||||
target: () =>
|
||||
JSON.stringify([props.subjectId, props.images.filter(image => image.status === 'completed'), props.profile]),
|
||||
input: () => generationInput.value,
|
||||
@@ -229,7 +231,7 @@ const rules = {
|
||||
:loading="previewLoading"
|
||||
:disabled="disabled || submitting || !valid"
|
||||
:error="previewError"
|
||||
:stale-notice="staleNotice"
|
||||
:stale-notice="staleNotice || recoveryNotice"
|
||||
@load="loadPreview"
|
||||
/>
|
||||
<NCheckbox
|
||||
|
||||
Reference in new issue
Block a user