diff --git a/es/table/index.js b/es/table/index.js index e6f98e7..cd94edd 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(() => { + console.log("\u6570\u636E\u53D8\u5316", scrollWidthCell.value); getScrollWidth(); }); }); diff --git a/lib/index.js b/lib/index.js index ac8f8ab..3b4d682 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(() => { + console.log("\u6570\u636E\u53D8\u5316", scrollWidthCell.value); getScrollWidth(); }); }); diff --git a/src/component/table/index.vue b/src/component/table/index.vue index 3576c34..9454a3e 100644 --- a/src/component/table/index.vue +++ b/src/component/table/index.vue @@ -453,6 +453,7 @@ watch( () => [props.height, props.maxHeight, props.dataSource], () => { nextTick(() => { + console.log("数据变化",scrollWidthCell.value) getScrollWidth(); }); } diff --git a/umd/index.js b/umd/index.js index ef0272c..6c80df6 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