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

View File

@ -1181,10 +1181,12 @@ const _sfc_main = defineComponent({
emit("change", page);
} else {
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
)
];
}
};
const rowClick = function(data, evt) {

View File

@ -40236,10 +40236,12 @@ const _sfc_main$D = defineComponent({
emit("change", page);
} else {
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
)
];
}
};
const rowClick = function(data, evt) {

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
)
];
}
};

File diff suppressed because one or more lines are too long