fix(admin): replace completed preload workspace tab

This commit is contained in:
2026-08-31 17:05:13 +08:00
parent 3cae7e4eb5
commit c7ba96457a
3 changed files with 9 additions and 0 deletions
@@ -25,6 +25,7 @@ describe('PreloadPlanDetailView prototype contract', () => {
expect(source).toContain("lifecycle.detailResource === 'LOADING_LIST'")
expect(source).toContain("lifecycle.planStatus !== 'COMPLETED'")
expect(source).toContain("router.replace({ name: 'loading-list-detail'")
expect(source).toContain("workspace.removeByIds(['preload-plan-detail'])")
expect(source).toContain('装柜已完成,已切换至装柜清单详情')
expect(source).not.toContain("preloadError.code !== 'A0404'")
expect(source).not.toContain('getConfirmedLoadingList')