diff --git a/package/component/src/component/table/index.vue b/package/component/src/component/table/index.vue index 7d40c995..a36c2fb2 100644 --- a/package/component/src/component/table/index.vue +++ b/package/component/src/component/table/index.vue @@ -205,13 +205,9 @@ onMounted(() => { const scrollWidth: number = tableBody.value?.scrollWidth || 0; const offsetWidth: number = tableBody.value?.offsetWidth || 0; - console.dir(tableBody.value); - console.log(scrollWidth < offsetWidth); - console.log(scrollWidth, offsetWidth); if (scrollWidth < offsetWidth) { scrollWidthCell.value = offsetWidth - scrollWidth; } - console.log(props.columns); tableBody.value?.addEventListener("scroll", () => { tableHeader.value!.scrollLeft = tableBody.value?.scrollLeft || 0; }); @@ -286,6 +282,7 @@ props.dataSource.map((value: any) => {
+ + @@ -361,6 +359,7 @@ props.dataSource.map((value: any) => { >
+