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