web-component-gallery 2.3.17 → 2.3.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/js.umd.js +1 -1
- package/lib/transfer-table/index.vue +3 -3
- package/package.json +1 -1
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
})
|
|
61
61
|
}
|
|
62
62
|
}"
|
|
63
|
-
@pageSizeChange="
|
|
63
|
+
@pageSizeChange="onListPageBHandler"
|
|
64
64
|
>
|
|
65
65
|
<span class="Table__Name" slot="ATableTitle">已选{{title}}列表</span>
|
|
66
66
|
<template #action="{customProps, index}">
|
|
@@ -216,12 +216,12 @@ export default {
|
|
|
216
216
|
},
|
|
217
217
|
|
|
218
218
|
// 获取右侧表格数据(从已选记录中分页)
|
|
219
|
-
onListPageBHandler() {
|
|
219
|
+
onListPageBHandler(paginationB) {
|
|
220
220
|
try {
|
|
221
221
|
const chunks = chunkArray(this.selectedRecordsB, this.listPaginationB.size)
|
|
222
222
|
this.listPaginationB = {
|
|
223
223
|
...this.listPaginationB,
|
|
224
|
-
current: chunks.length,
|
|
224
|
+
...(paginationB || { current: chunks.length }),
|
|
225
225
|
total: this.selectedRecordsB.length
|
|
226
226
|
}
|
|
227
227
|
this.listDatasB = chunks[this.listPaginationB.current - 1] || []
|