feat: 同步动作与首帧编辑能力并统一工作区反馈
接入动作时间轴、密度审计、人工视线目标和后台首帧编辑;独立读取已保存提示词,并在首帧晋升前重新核对持久化质量状态。 统一 NMessage 结果反馈、局部 loading 和业务说明间距,保留真实长任务进度与部分失败语义。 验证:pnpm check(49 个文件、393 项测试)、pnpm build;当前环境无法完成 localhost 浏览器验收及真实后端联调。
This commit is contained in:
1 parent
83482a70c5
commit
7a60db3ced
76 files changed
+2485
-457
No files matched your search
@@ -1,3 +1,4 @@
|
||||
import FeedbackMessage from '@/components/ui/FeedbackMessage.vue'
|
||||
import { flushPromises, mount, type VueWrapper } from '@vue/test-utils'
|
||||
import { afterEach, expect, it, vi } from 'vitest'
|
||||
import ProviderInputInspector from '@/features/production/components/ProviderInputInspector.vue'
|
||||
@@ -70,6 +71,7 @@ it('模型切换使晚到的旧响应失效,错误归属不发布结果', asyn
|
||||
fetcher.mockResolvedValue(new Response(JSON.stringify({ data: inputSpec('wrong-shot') })))
|
||||
await wrapper.get('button').trigger('click')
|
||||
await flushPromises()
|
||||
expect(wrapper.text()).toContain('不匹配')
|
||||
expect(wrapper.getComponent(FeedbackMessage).props('message')).toContain('不匹配')
|
||||
expect(wrapper.text()).not.toContain('不匹配')
|
||||
expect(wrapper.text()).not.toContain('asset-1')
|
||||
})
|
||||
Reference in new issue
Block a user