From 981fe00c5f35ba0a80d74756dda79d5e9da19f84 Mon Sep 17 00:00:00 2001 From: ibuler Date: Thu, 18 Apr 2024 13:14:56 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BC=98=E5=8C=96=E4=BF=AE=E6=94=B9=20?= =?UTF-8?q?table=20label?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Apps/DrawerPanel/index.vue | 4 ++-- .../DataTable/compenents/el-data-table/el-data-table.vue | 4 ++++ src/components/Table/TableFormatters/LabelsFormatter.vue | 2 +- src/views/users/User/UserList.vue | 3 +++ 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/components/Apps/DrawerPanel/index.vue b/src/components/Apps/DrawerPanel/index.vue index e9227cfc2..f4b4ef635 100644 --- a/src/components/Apps/DrawerPanel/index.vue +++ b/src/components/Apps/DrawerPanel/index.vue @@ -223,9 +223,9 @@ export default { cursor: pointer; &:hover { - left: -52px !important; + left: -51px !important; width: 50px !important; - transform: scale(1.06); + transform: scale(1.01); } i { font-size: 20px; diff --git a/src/components/Table/DataTable/compenents/el-data-table/el-data-table.vue b/src/components/Table/DataTable/compenents/el-data-table/el-data-table.vue index 75affc7b3..998695809 100644 --- a/src/components/Table/DataTable/compenents/el-data-table/el-data-table.vue +++ b/src/components/Table/DataTable/compenents/el-data-table/el-data-table.vue @@ -99,8 +99,12 @@ :filter-multiple="false" :filters="col.filters || null" :formatter="typeof col.formatter === 'function' ? col.formatter : null" + :title="col.label" v-bind="{align: columnsAlign, ...col}" > +