feat: 场景道具确认母版时同步锁定身份

This commit is contained in:
GouJ committed 2026-09-24 23:53:19 +08:00
1 parent 30d2c83860
commit 37961781f1
1 file changed
+2 -1
@@ -75,6 +75,7 @@ const {
generateImage, generateImage,
generateCastingCandidate, generateCastingCandidate,
setAnchor, setAnchor,
confirmStableAnchor,
confirmCasting confirmCasting
} = useSubjectIdentity() } = useSubjectIdentity()
const search = ref('') const search = ref('')
@@ -163,7 +164,7 @@ async function submitCastingCandidate(input: Parameters<typeof generateCastingCa
/** Character 使用确认选角事务;Scene / Prop 保留普通母版切换。 */ /** Character 使用确认选角事务;Scene / Prop 保留普通母版切换。 */
function chooseAnchor(imageId: string) { function chooseAnchor(imageId: string) {
if (subject.value?.module === 'character') void confirmCasting(imageId) if (subject.value?.module === 'character') void confirmCasting(imageId)
else void setAnchor(imageId) else void confirmStableAnchor(imageId)
} }
/** 新回执自动展开,避免折叠区隐藏部分失败诊断。 */ /** 新回执自动展开,避免折叠区隐藏部分失败诊断。 */
const toolsOpen = ref(false) const toolsOpen = ref(false)