This commit is contained in:
zk
2023-12-19 18:10:46 +08:00
parent 3e53c75a6f
commit 8dccce0208
16 changed files with 128 additions and 35 deletions
@@ -39,7 +39,7 @@
const dataSource = ref([]);
const pagination = ref({
current: 1,
pageSize: 2,
pageSize: 10,
total: 0,
onChange: pageChange,
});
@@ -90,7 +90,6 @@
}
function interval() {
console.log(55555);
// timer.value = setInterval(() => {
let page = pagination.value.current < pages.value ? pagination.value.current + 1 : 1;
init(page);