From 4e160ffb4a2f511864a27626409a931d77f910fd Mon Sep 17 00:00:00 2001 From: Theluyuan <1162963624@qq.com> Date: Mon, 16 Jan 2023 10:36:02 +0800 Subject: [PATCH] =?UTF-8?q?fix=20table=20=E9=98=B4=E5=BD=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- es/table/index.js | 1 + lib/index.js | 1 + src/component/table/index.vue | 1 + umd/index.js | 2 +- 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/es/table/index.js b/es/table/index.js index 434ad99..8d4c7a5 100644 --- a/es/table/index.js +++ b/es/table/index.js @@ -999,6 +999,7 @@ const _sfc_main = defineComponent({ watch(() => [props.height, props.maxHeight, props.dataSource], () => { nextTick(() => { getScrollWidth(); + getFixedColumn(); }); }, { deep: true diff --git a/lib/index.js b/lib/index.js index e43e071..1d01e4f 100644 --- a/lib/index.js +++ b/lib/index.js @@ -19417,6 +19417,7 @@ const _sfc_main$D = defineComponent({ watch(() => [props.height, props.maxHeight, props.dataSource], () => { nextTick(() => { getScrollWidth(); + getFixedColumn(); }); }, { deep: true diff --git a/src/component/table/index.vue b/src/component/table/index.vue index 2c93138..f1436b6 100644 --- a/src/component/table/index.vue +++ b/src/component/table/index.vue @@ -453,6 +453,7 @@ watch( () => { nextTick(() => { getScrollWidth(); + getFixedColumn(); }); }, { diff --git a/umd/index.js b/umd/index.js index e98b360..df898e9 100644 --- a/umd/index.js +++ b/umd/index.js @@ -88,7 +88,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho