fix(short-drama-agent-front): 优化工作区提示与弹窗布局

This commit is contained in:
GJ committed 2026-10-09 18:31:09 +08:00
1 parent 5b134207b8
commit 72a86171dc
35 files changed
+586 -378

No files matched your search

@@ -9,6 +9,7 @@ import { referenceLocation, referenceTargets } from '@/features/production/asset
import StaleKeyframeNotice from '@/features/production/components/StaleKeyframeNotice.vue'
import SubjectImagesPage from '@/features/subject-images/SubjectImagesPage.vue'
import ProductionPage from '@/features/production/ProductionPage.vue'
import ShotProductionAssets from '@/features/production/components/ShotProductionAssets.vue'
import ImageGalleryDialog from '@/features/subject-images/components/ImageGalleryDialog.vue'
import type { CreativeProfile, GenerationModelCatalog } from '@/features/generation-config/types'
import { directionsResult, storyboardCheckpoint } from '@/features/storyboard/testing/fixtures'
@@ -563,7 +564,10 @@ describe('过期首帧到具体素材定位', () => {
global: { plugins: [router], provide: { [projectContextKey as symbol]: context } }
})
await flushPromises()
expect(wrapper!.get('.production-detail').text()).toContain(target.shotId)
/** 正式编号只用于选择和请求,不作为普通用户可见文案。 */
expect(wrapper!.getComponent(ShotProductionAssets).props('shot').shotId).toBe(target.shotId)
expect(wrapper!.get('.production-detail').text()).toContain('第2集镜头2')
expect(wrapper!.get('.production-detail').text()).not.toContain(target.shotId)
expect(fetcher.mock.calls.some(([url]) => String(url).includes('episodeNo=2'))).toBe(true)
expect(fetcher.mock.calls.every(([, init]) => init?.method === 'GET')).toBe(true)
})