优化
This commit is contained in:
@@ -82,4 +82,10 @@ describe('OceanBookingsView', () => {
|
||||
expect(source).not.toContain('customer.tenantCode')
|
||||
expect(source).toContain('@media(max-width:420px)')
|
||||
})
|
||||
|
||||
it('keeps desktop filter widths proportional instead of stretching short status fields', () => {
|
||||
expect(source).toContain("key: 'customerId', type: 'select', label: '客户', placeholder: '全部客户', width: 220")
|
||||
expect(source).toContain("key: 'keyword', type: 'input', label: '关键词', placeholder: '订舱号/提单号/船名/航次', width: 260")
|
||||
expect(source).toContain("key: 'status', type: 'select', label: '状态', width: 160")
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user