From 49d55d5c4c9a951cb5585f1578a11f3f2b047f2c Mon Sep 17 00:00:00 2001 From: Theluyuan <1162963624@qq.com> Date: Sun, 25 Jun 2023 13:36:37 +0800 Subject: [PATCH] test --- es/table/index.js | 2 +- lib/index.js | 2 +- src/component/table/index.vue | 2 +- umd/index.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/es/table/index.js b/es/table/index.js index bf2527d..1bfe0be 100644 --- a/es/table/index.js +++ b/es/table/index.js @@ -1499,7 +1499,7 @@ const _sfc_main = defineComponent({ endlist.push(i); } } - if (!props.page) { + if (!props.page || props.serverpage) { datalist.value = endlist; } else { tableDataSource.value = endlist; diff --git a/lib/index.js b/lib/index.js index 430f2c6..02e4290 100644 --- a/lib/index.js +++ b/lib/index.js @@ -19946,7 +19946,7 @@ const _sfc_main$D = defineComponent({ endlist.push(i); } } - if (!props.page) { + if (!props.page || props.serverpage) { datalist.value = endlist; } else { tableDataSource.value = endlist; diff --git a/src/component/table/index.vue b/src/component/table/index.vue index dc92fd4..be1d7ad 100644 --- a/src/component/table/index.vue +++ b/src/component/table/index.vue @@ -807,7 +807,7 @@ watch( endlist.push(i); } } - if (!props.page) { + if (!props.page || props.serverpage) { datalist.value = endlist; } else { tableDataSource.value = endlist; diff --git a/umd/index.js b/umd/index.js index cbb0daa..2ab91f2 100644 --- a/umd/index.js +++ b/umd/index.js @@ -90,7 +90,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho