refactor: 同步独立选角与默认人物基线

This commit is contained in:
GouJ
2026-09-01 10:11:15 +08:00
parent 53917268d3
commit 95bd12cfcd
9 changed files with 25 additions and 14 deletions
+2
View File
@@ -245,6 +245,8 @@ describe('视觉风格与主体身份工作区', () => {
vi.stubGlobal('fetch', fetcher)
await mountAssets('style')
expect(wrapper!.text()).toContain('尚未创建')
expect(wrapper!.text()).toContain('默认采用中国人物选角基线')
expect(wrapper!.text()).toContain('人物风格与选角背景')
await wrapper!.get('#style-constraints').setValue('{"不应静默丢弃":true}')
expect(button('保存视觉风格').disabled).toBe(true)
await wrapper!.get('#style-constraints').setValue('["真人写实"]')