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 @@