feat: 对齐后端能力并补齐形态提示词与生产诊断

This commit is contained in:
GouJ
2026-09-02 18:21:20 +08:00
parent 7d8074f90e
commit f71d2bf0a4
30 changed files with 1707 additions and 66 deletions
+2 -3
View File
@@ -66,9 +66,8 @@ describe('形态图片选择与操作', () => {
form.subject.module = module
wrapper = mount(GenerateImageDialog, { attachTo: document.body, props: { open: true, form, disabled: false } })
await flushPromises()
expect(document.body.textContent).toContain(
module === 'prop' ? '道具形态生图暂不自动引用' : '后端会自动引用此人物/场景当前的身份母版'
)
expect(document.body.textContent).toContain('母版')
expect(document.body.textContent).not.toContain('道具形态生图暂不自动引用')
})
it('已有主图优先于新候选图和失败记录,无主图才回退到成功候选图', () => {
const form = formFixture()