From cbf10b35d8d8bee0c6e5cf00a4aae03410601c5f Mon Sep 17 00:00:00 2001 From: Theluyuan <1162963624@qq.com> Date: Mon, 16 Jan 2023 09:58:37 +0800 Subject: [PATCH] table console --- 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 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