From a079bdcd4698ceb3660deae47a6fcc6603584b8c Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期一, 17 三月 2025 10:49:47 +0800 Subject: [PATCH] 下单样式修改 --- src/components/Table/lims-table.vue | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/components/Table/lims-table.vue b/src/components/Table/lims-table.vue index c63f778..e3e0b71 100644 --- a/src/components/Table/lims-table.vue +++ b/src/components/Table/lims-table.vue @@ -230,7 +230,7 @@ }, rowStyle: { type: Object || Function, - default: () => { }, + default: () => null, }, tableData: { type: Array, @@ -261,6 +261,9 @@ }, mounted() { this.calculateSpanInfo(); + this.$nextTick(() => { + this.$refs.multipleTable.doLayout(); + }); }, methods: { getWidth(row) { @@ -324,7 +327,6 @@ this.$emit("pagination", { page: page, limit: limit }); }, indexMethod(index) { - // return index * 2; return (this.page.current - 1) * this.page.size + index + 1; }, // 鐐瑰嚮鍗曞厓鏍糽ink浜嬩欢 @@ -443,7 +445,7 @@ } >>>.el-table__body-wrapper::-webkit-scrollbar { - height: 14px; + height: 10px; /* 璁剧疆婊氬姩鏉″搴� */ } </style> -- Gitblit v1.9.3