perf(short-drama-agent-front): 优化记录加载与工作区体验

This commit is contained in:
GJ committed 2026-11-06 20:56:25 +08:00
1 parent d0264c08ce
commit db9aea1694
111 files changed
+1680 -1290

No files matched your search

@@ -67,7 +67,7 @@ describe('历史首帧输入', () => {
await wrapper.get('.n-collapse-item__header-main').trigger('click')
await flushPromises()
expect(wrapper.text()).toContain('当次描述 one')
expect(wrapper.text()).toContain('原件字节已变化')
expect(wrapper.text()).toContain('原图已变化')
expect(wrapper.text()).toContain('@CH01')
expect(wrapper.text()).toContain('@CH02')
expect(wrapper.find('img').exists()).toBe(false)
@@ -75,7 +75,7 @@ describe('历史首帧输入', () => {
await flushPromises()
expect(wrapper.text()).toContain('当次描述 two')
expect(wrapper.text()).not.toContain('当次描述 one')
expect(wrapper.text()).toContain('原件不可用')
expect(wrapper.text()).toContain('原图不可用')
expect(fetcher.mock.calls.map(([url]) => url)).toEqual([
'/api/storyboard-shots/shot/keyframes/one/generation-input?projectId=project',
'/api/storyboard-shots/shot/keyframes/two/generation-input?projectId=project'