diff --git a/es/table/index.js b/es/table/index.js index cd94edd..6cd1db6 100644 --- a/es/table/index.js +++ b/es/table/index.js @@ -1002,6 +1002,8 @@ const _sfc_main = defineComponent({ console.log("\u6570\u636E\u53D8\u5316", scrollWidthCell.value); getScrollWidth(); }); + }, { + deep: true }); onMounted(() => { var _a, _b; diff --git a/lib/index.js b/lib/index.js index 3b4d682..958db1f 100644 --- a/lib/index.js +++ b/lib/index.js @@ -19420,6 +19420,8 @@ const _sfc_main$D = defineComponent({ console.log("\u6570\u636E\u53D8\u5316", scrollWidthCell.value); getScrollWidth(); }); + }, { + deep: true }); onMounted(() => { var _a2, _b; diff --git a/src/component/table/index.vue b/src/component/table/index.vue index 9454a3e..fc28ec1 100644 --- a/src/component/table/index.vue +++ b/src/component/table/index.vue @@ -456,6 +456,8 @@ watch( console.log("数据变化",scrollWidthCell.value) getScrollWidth(); }); + },{ + deep:true } ); diff --git a/umd/index.js b/umd/index.js index 6c80df6..18a770e 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