From ac88b70b1c742d8b3312a60679d8bc3d8dd421b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Chuailei000=E2=80=9D?= <2280131253@qq.com> Date: Thu, 2 Mar 2023 18:47:27 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20table=E5=88=97=E8=A1=A8=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E6=8B=96=E5=8A=A8=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/DataTable/index.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/DataTable/index.vue b/src/components/DataTable/index.vue index df26d140b..2181c52d3 100644 --- a/src/components/DataTable/index.vue +++ b/src/components/DataTable/index.vue @@ -48,7 +48,7 @@ export default { buttonSize: 'mini', tableAttrs: { stripe: false, // 斑马纹表格 - border: false, // 表格边框 + border: true, // 表格边框 fit: true, // 宽度自适应, tooltipEffect: 'dark', rowClassName: ({ row }) => { @@ -182,7 +182,7 @@ export default { line-height: 1.5; padding: 6px 0; font-size: 13px; - + border-right: none; * { vertical-align: middle; } @@ -204,7 +204,7 @@ export default { background-color: #ffffff; font-size: 13px; line-height: 1.5; - + border-right: none; .cell { white-space: nowrap !important; overflow: hidden;