From ec3bd29153a18e4ef96dad92cae8e6ed95f90a83 Mon Sep 17 00:00:00 2001 From: ibuler Date: Fri, 24 Apr 2020 10:52:30 +0800 Subject: [PATCH] =?UTF-8?q?[Update]=20Table=E6=8D=A2=E4=B8=AA=E9=A3=8E?= =?UTF-8?q?=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/DataTable/index.vue | 2 +- src/components/ListTable/index.vue | 19 ++++++++++++++++++- .../components/GenericDetailPage/index.vue | 4 ++++ src/layout/components/TabPage/index.vue | 3 +++ 4 files changed, 26 insertions(+), 2 deletions(-) diff --git a/src/components/DataTable/index.vue b/src/components/DataTable/index.vue index 5477e1036..f1f390652 100644 --- a/src/components/DataTable/index.vue +++ b/src/components/DataTable/index.vue @@ -38,7 +38,7 @@ export default { // editText: this.$t('action.update'), // 编辑按钮文案 buttonSize: 'mini', tableAttrs: { - stripe: true, // 斑马纹表格 + stripe: false, // 斑马纹表格 border: true, // 表格边框 fit: true, // 宽度自适应, tooltipEffect: 'dark' diff --git a/src/components/ListTable/index.vue b/src/components/ListTable/index.vue index 451ad39c1..701291e4e 100644 --- a/src/components/ListTable/index.vue +++ b/src/components/ListTable/index.vue @@ -182,11 +182,28 @@ export default { } - diff --git a/src/layout/components/TabPage/index.vue b/src/layout/components/TabPage/index.vue index 1e613d26b..07d579256 100644 --- a/src/layout/components/TabPage/index.vue +++ b/src/layout/components/TabPage/index.vue @@ -60,4 +60,7 @@ export default { /*margin: 0;*/ /*background-color: #f3f3f4;*/ } + .page-submenu >>> .el-tabs__nav-wrap { + position: static; + }