变更
This commit is contained in:
parent
47efc3461d
commit
cf87e0c28a
@ -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) {
|
||||
|
10
lib/index.js
10
lib/index.js
@ -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) {
|
||||
|
@ -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
Loading…
Reference in New Issue
Block a user