From 1731369f29ad66fff03444de141f858b6f2cf313 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B1=E7=9C=A0=E5=84=80=E5=BC=8F?= <854085467@qq.com> Date: Mon, 4 Jul 2022 01:19:39 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B(component):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=20table=20css=20=E5=86=B2=E7=AA=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/component/table/TableRow.vue | 10 ++++-- .../component/src/component/table/index.less | 33 +++++++++---------- .../component/src/component/table/index.vue | 4 ++- .../src/document/zh-CN/components/table.md | 1 + 4 files changed, 27 insertions(+), 21 deletions(-) diff --git a/package/component/src/component/table/TableRow.vue b/package/component/src/component/table/TableRow.vue index 5e9cfa48..f320d4ba 100644 --- a/package/component/src/component/table/TableRow.vue +++ b/package/component/src/component/table/TableRow.vue @@ -158,7 +158,10 @@ const childrenIndentSize = props.currentIndentSize + props.indentSize; }, renderCellStyle(data, column, index, columnIndex), ]" - :class="[renderCellClassName(data, column, index, columnIndex),column.fixed ? `layui-table-fixed-${column.fixed}` : '']" + :class="[ + renderCellClassName(data, column, index, columnIndex), + column.fixed ? `layui-table-fixed-${column.fixed}` : '', + ]" > {