From b65956ef8f1d011fd75c579409a67b8aaffd5dec Mon Sep 17 00:00:00 2001 From: Kinplemelon Date: Fri, 27 Dec 2024 16:09:14 +0800 Subject: [PATCH] style(tables): unify components of some tables --- src/components/ArrayEditorTable.vue | 8 ++-- src/components/ObjectArrayEditor.vue | 8 ++-- src/views/Auth/components/AuthzManager.vue | 39 ++++++++++--------- .../Dashboard/components/NodesGraphCard.vue | 4 +- src/views/Diagnose/LogTrace/LogTrace.vue | 12 +----- .../Gateway/components/topicEditList.vue | 8 ++-- 6 files changed, 37 insertions(+), 42 deletions(-) diff --git a/src/components/ArrayEditorTable.vue b/src/components/ArrayEditorTable.vue index fbf8398fe..fb214309c 100644 --- a/src/components/ArrayEditorTable.vue +++ b/src/components/ArrayEditorTable.vue @@ -7,14 +7,14 @@ diff --git a/src/components/ObjectArrayEditor.vue b/src/components/ObjectArrayEditor.vue index 1e453d044..7acc3a6e7 100644 --- a/src/components/ObjectArrayEditor.vue +++ b/src/components/ObjectArrayEditor.vue @@ -34,14 +34,14 @@ diff --git a/src/views/Auth/components/AuthzManager.vue b/src/views/Auth/components/AuthzManager.vue index c82ec165f..d836ff30b 100644 --- a/src/views/Auth/components/AuthzManager.vue +++ b/src/views/Auth/components/AuthzManager.vue @@ -211,28 +211,30 @@ @@ -661,12 +663,13 @@ export default defineComponent({ } .form-table { .cell { - .btn.disabled { - cursor: not-allowed; - color: var(--color-text-placeholder); - } - .btn + .btn { - margin-left: 8px; + .el-button { + padding: 0; + margin-right: 0; + border: none; + & + .el-button { + margin-left: 8px; + } } } } diff --git a/src/views/Dashboard/components/NodesGraphCard.vue b/src/views/Dashboard/components/NodesGraphCard.vue index aaf34253b..ba0c508df 100644 --- a/src/views/Dashboard/components/NodesGraphCard.vue +++ b/src/views/Dashboard/components/NodesGraphCard.vue @@ -12,9 +12,9 @@
{{ tl('nodeData') }}
- + {{ tl('viewNodes') }} - +
diff --git a/src/views/Diagnose/LogTrace/LogTrace.vue b/src/views/Diagnose/LogTrace/LogTrace.vue index fb27699e6..adad1a642 100644 --- a/src/views/Diagnose/LogTrace/LogTrace.vue +++ b/src/views/Diagnose/LogTrace/LogTrace.vue @@ -10,17 +10,9 @@ diff --git a/src/views/Gateway/components/topicEditList.vue b/src/views/Gateway/components/topicEditList.vue index 62c00ba49..4561916f1 100644 --- a/src/views/Gateway/components/topicEditList.vue +++ b/src/views/Gateway/components/topicEditList.vue @@ -23,14 +23,14 @@