fix: normalize delivery pagination
This commit is contained in:
@@ -47,6 +47,12 @@ test('renders the operation column first and covers loading, empty, error and pa
|
||||
assert.match(listSource, /@click="loadOrders">重试/)
|
||||
assert.match(listSource, /listDeliveryOrders\(buildQuery\(\)\)/)
|
||||
assert.match(listSource, /<el-pagination/)
|
||||
assert.match(listSource, /v-model:current-page="page"/)
|
||||
assert.match(listSource, /v-model:page-size="pageSize"/)
|
||||
assert.match(listSource, /@current-change="changePage"/)
|
||||
assert.match(listSource, /@size-change="changePageSize"/)
|
||||
assert.match(apiSource, /\.then\(normalizeDeliveryPage\)/)
|
||||
assert.match(apiSource, /total: Number\(data\.total\)/)
|
||||
assert.doesNotMatch(listSource, /row\.id[^a-zA-Z]|deliveryNo \|\| row\.id|customerId|tenantId/)
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user