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