diff --git a/es/table/index.js b/es/table/index.js index 6cd1db6..434ad99 100644 --- a/es/table/index.js +++ b/es/table/index.js @@ -986,7 +986,6 @@ const _sfc_main = defineComponent({ } else { scrollWidthCell.value = 0; } - console.log("\u6EDA\u52A8\u6761\u5BBD\u5EA6", scrollWidthCell.value); tableBodyEmptyWidth.value = ((_c = tableHeaderTable.value) == null ? void 0 : _c.offsetWidth) + "px"; }; const hasl = ref(false); @@ -999,7 +998,6 @@ 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 958db1f..e43e071 100644 --- a/lib/index.js +++ b/lib/index.js @@ -19404,7 +19404,6 @@ const _sfc_main$D = defineComponent({ } else { scrollWidthCell.value = 0; } - console.log("\u6EDA\u52A8\u6761\u5BBD\u5EA6", scrollWidthCell.value); tableBodyEmptyWidth.value = ((_c = tableHeaderTable.value) == null ? void 0 : _c.offsetWidth) + "px"; }; const hasl = ref(false); @@ -19417,7 +19416,6 @@ 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 fc28ec1..b300d7e 100644 --- a/src/component/table/index.vue +++ b/src/component/table/index.vue @@ -434,7 +434,6 @@ const getScrollWidth = () => { } else { scrollWidthCell.value = 0; } - console.log("滚动条宽度",scrollWidthCell.value) tableBodyEmptyWidth.value = tableHeaderTable.value?.offsetWidth + "px"; }; @@ -453,7 +452,6 @@ watch( () => [props.height, props.maxHeight, props.dataSource], () => { nextTick(() => { - console.log("数据变化",scrollWidthCell.value) getScrollWidth(); }); },{ diff --git a/umd/index.js b/umd/index.js index 18a770e..e98b360 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