This commit is contained in:
2026-09-20 10:06:23 +08:00
parent e94915ced3
commit 1305753b71
6 changed files with 28 additions and 6 deletions
@@ -232,6 +232,8 @@ describe('UnifiedOrdersView contract', () => {
expect(source).toContain("{ key: 'detail', label: '详情', priority: 500 }")
expect(source).toContain('...unifiedOrderSecondaryActions(row).map')
expect(source).toContain('<RowActions :actions="unifiedOrderRowActions(row as UnifiedOrderResource)"')
expect(source).toContain("if (action === 'approve') return '审核'")
expect(source).not.toContain("if (action === 'approve') return '通过'")
})
it('opens smart loading from the order table toolbar with its own permission', () => {