优化
This commit is contained in:
@@ -334,5 +334,10 @@ describe('InboundOrdersView', () => {
|
||||
expect(source).toContain('preference-key="inbound-orders-table"')
|
||||
expect(columnSource.match(/defaultVisible: false/g)?.length).toBeGreaterThanOrEqual(25)
|
||||
expect(toolbarSource).toMatch(/@media \(max-width: 720px\)[\s\S]*width: 100%/)
|
||||
expect(source).toContain('<el-button size="small" type="primary" @click="openDetail')
|
||||
expect(source).toContain('<ClipboardCheck :size="15" />处理')
|
||||
expect(source).toContain('<el-button size="small" plain type="primary"')
|
||||
expect(source).not.toContain('<el-button link type="primary" @click="openDetail(row as InboundOrderSummary)">')
|
||||
expect(source).toContain('@media (max-width: 360px) { .inbound-tab { padding-inline: 12px; } .row-actions { align-items: stretch; flex-direction: column; }')
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user