From 64a9a582dfbf8effb4d82d0d30098550b2804548 Mon Sep 17 00:00:00 2001 From: ibuler Date: Thu, 25 Dec 2025 14:48:06 +0800 Subject: [PATCH] perf: change table btn --- .prettierrc.js | 3 +- src/components/Common/DataActions/index.vue | 14 +- src/components/Common/IBox/index.vue | 91 ++++---- src/components/Form/DataForm/index.vue | 7 +- .../Table/ListTable/TableAction/LeftSide.vue | 5 +- src/components/Table/TagSearch/index.vue | 3 +- src/styles/index.scss | 217 ++++++++++-------- vue.config.js | 10 + 8 files changed, 190 insertions(+), 160 deletions(-) diff --git a/.prettierrc.js b/.prettierrc.js index 9289d064b..6dab063d2 100644 --- a/.prettierrc.js +++ b/.prettierrc.js @@ -7,5 +7,6 @@ module.exports = { useTabs: false, bracketSpacing: true, arrowParens: 'avoid', - endOfLine: 'auto' + endOfLine: 'auto', + spaceBeforeFunctionParen: false } diff --git a/src/components/Common/DataActions/index.vue b/src/components/Common/DataActions/index.vue index 598b603be..84d891773 100644 --- a/src/components/Common/DataActions/index.vue +++ b/src/components/Common/DataActions/index.vue @@ -24,9 +24,7 @@ class="more-action" v-bind="{ ...cleanButtonAction(action), icon: '' }" > - - - + {{ action.title }} @@ -72,7 +70,7 @@ >
- + {{ action.title }} @@ -249,6 +247,10 @@ $color-drop-menu-border: #e4e7ed; .action-item { margin-left: 5px; + .pre-icon + span { + margin-left: 3px; + } + &.grouped { margin-left: 0; } @@ -257,10 +259,6 @@ $color-drop-menu-border: #e4e7ed; margin-left: 0; } } - - .el-button.el-button--default { - color: var(--color-text-primary) !important; - } } // 主要是左侧 LeftSide diff --git a/src/components/Common/IBox/index.vue b/src/components/Common/IBox/index.vue index 94b5a434f..3945d25af 100644 --- a/src/components/Common/IBox/index.vue +++ b/src/components/Common/IBox/index.vue @@ -1,9 +1,10 @@