fex table

This commit is contained in:
Theluyuan 2023-05-29 13:37:40 +08:00
parent 296e60f6c4
commit 2839c0cf7a
4 changed files with 4 additions and 4 deletions

View File

@ -1112,7 +1112,7 @@ const _sfc_main = defineComponent({
emit("update:expandKeys", tableExpandKeys.value);
}, { deep: true, immediate: true });
watch(tableDataSource, () => {
if (!props.page) {
if (!props.page || props.serverpage) {
datalist.value = tableDataSource.value;
} else {
let tmp = { ...props.page };

View File

@ -19559,7 +19559,7 @@ const _sfc_main$D = defineComponent({
emit("update:expandKeys", tableExpandKeys.value);
}, { deep: true, immediate: true });
watch(tableDataSource, () => {
if (!props.page) {
if (!props.page || props.serverpage) {
datalist.value = tableDataSource.value;
} else {
let tmp = { ...props.page };

View File

@ -336,7 +336,7 @@ watch(
{ deep: true, immediate: true }
);
watch(tableDataSource, () => {
if (!props.page) {
if (!props.page || props.serverpage) {
datalist.value = tableDataSource.value;
} else {
// props.page.count = tableDataSource.value.length

File diff suppressed because one or more lines are too long