fix: 修正场景道具身份参考图流程状态
This commit is contained in:
1 parent
37a97217f3
commit
84123b9851
1 file changed
+8
-1
@@ -184,8 +184,15 @@ type IdentityFlowAction = 'style' | 'profile' | 'identity' | 'candidate' | 'conf
|
|||||||
const primaryCandidate = computed(() =>
|
const primaryCandidate = computed(() =>
|
||||||
images.value.find(image => image.viewType === 'primary' && image.status === 'completed' && image.imageUrl)
|
images.value.find(image => image.viewType === 'primary' && image.status === 'completed' && image.imageUrl)
|
||||||
)
|
)
|
||||||
|
/**
|
||||||
|
* Scene / Prop 的 primary 完成图本身即可进入确认母版阶段。
|
||||||
|
* Character 仍以正式 Anchor / Casting 状态为准。
|
||||||
|
*/
|
||||||
|
const referenceImageReady = computed(() =>
|
||||||
|
subject.value?.module === 'character' ? !!anchor.value || !!primaryCandidate.value : !!primaryCandidate.value
|
||||||
|
)
|
||||||
const identityTextReady = computed(() => !!identity.value?.generationPrompt?.trim())
|
const identityTextReady = computed(() => !!identity.value?.generationPrompt?.trim())
|
||||||
const candidateReady = computed(() => !!anchor.value || !!primaryCandidate.value)
|
const candidateReady = computed(() => referenceImageReady.value)
|
||||||
const identityReady = computed(() => !!anchor.value && !!identity.value?.isLocked)
|
const identityReady = computed(() => !!anchor.value && !!identity.value?.isLocked)
|
||||||
const identityFlow = computed(() => {
|
const identityFlow = computed(() => {
|
||||||
const character = subject.value?.module === 'character'
|
const character = subject.value?.module === 'character'
|
||||||
|
|||||||
Reference in new issue
Block a user