优化
This commit is contained in:
@@ -107,7 +107,7 @@ describe('UnifiedOrdersView contract', () => {
|
||||
})
|
||||
|
||||
it('covers real list states and keeps operation column first and left-fixed', () => {
|
||||
expect(source).toContain("{ key: 'actions', label: '操作', width: 270, fixed: 'left'")
|
||||
expect(source).toMatch(/\{ key: 'actions', label: '操作', width: \d+, fixed: 'left'/)
|
||||
expect(source).toContain("key: 'selection', type: 'selection'")
|
||||
expect(source).not.toContain('批量审核接口待接入')
|
||||
expect(source).toContain('@selection-change="handleOrderSelectionChange"')
|
||||
|
||||
Reference in New Issue
Block a user