This commit is contained in:
2024-09-25 10:54:18 +08:00
parent 47efc3461d
commit cf87e0c28a
4 changed files with 19 additions and 13 deletions

View File

@@ -362,10 +362,12 @@ const change = function (page: any) {
emit("change", page);
} else {
pagecurrent = page.current;
datalist.value = tableDataSource.value.slice(
page.limit * (page.current - 1),
page.limit * page.current
);
datalist.value = [
...tableDataSource.value.slice(
page.limit * (page.current - 1),
page.limit * page.current
)
];
}
};