变更
This commit is contained in:
parent
47efc3461d
commit
cf87e0c28a
@ -1181,10 +1181,12 @@ const _sfc_main = defineComponent({
|
|||||||
emit("change", page);
|
emit("change", page);
|
||||||
} else {
|
} else {
|
||||||
page.current;
|
page.current;
|
||||||
datalist.value = tableDataSource.value.slice(
|
datalist.value = [
|
||||||
page.limit * (page.current - 1),
|
...tableDataSource.value.slice(
|
||||||
page.limit * page.current
|
page.limit * (page.current - 1),
|
||||||
);
|
page.limit * page.current
|
||||||
|
)
|
||||||
|
];
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
const rowClick = function(data, evt) {
|
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);
|
emit("change", page);
|
||||||
} else {
|
} else {
|
||||||
page.current;
|
page.current;
|
||||||
datalist.value = tableDataSource.value.slice(
|
datalist.value = [
|
||||||
page.limit * (page.current - 1),
|
...tableDataSource.value.slice(
|
||||||
page.limit * page.current
|
page.limit * (page.current - 1),
|
||||||
);
|
page.limit * page.current
|
||||||
|
)
|
||||||
|
];
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
const rowClick = function(data, evt) {
|
const rowClick = function(data, evt) {
|
||||||
|
@ -362,10 +362,12 @@ const change = function (page: any) {
|
|||||||
emit("change", page);
|
emit("change", page);
|
||||||
} else {
|
} else {
|
||||||
pagecurrent = page.current;
|
pagecurrent = page.current;
|
||||||
datalist.value = tableDataSource.value.slice(
|
datalist.value = [
|
||||||
page.limit * (page.current - 1),
|
...tableDataSource.value.slice(
|
||||||
page.limit * page.current
|
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