diff --git "a/Vol.Vue3\347\211\210\346\234\254/src/components/basic/VolTable.vue" "b/Vol.Vue3\347\211\210\346\234\254/src/components/basic/VolTable.vue" index 7d9d412b33db832d865b67334f475e218bbb4ce4..28e32b77ed01e5c1366a68f591258d20b8c98e30 100644 --- "a/Vol.Vue3\347\211\210\346\234\254/src/components/basic/VolTable.vue" +++ "b/Vol.Vue3\347\211\210\346\234\254/src/components/basic/VolTable.vue" @@ -32,7 +32,7 @@ tooltip-effect="dark" :height="realHeight" :max-height="realMaxHeight" - :data="url ? rowData : tableData" + :data="url ? rowData : paginationHide ? tableData : tableData.slice((paginations.page - 1) * paginations.size, paginations.page * paginations.size)" border :row-class-name="initIndex" :cell-style="getCellStyle" @@ -477,6 +477,7 @@ export default defineComponent({ 'tableData.length': { handler(newLen, oldLen) { this.watchRowSelectChange(newLen, oldLen); + this.paginations.total = newLen; } }, 'rowData.length': {