From ecfc3e073d354269cd79f47f542b84ec9e485653 Mon Sep 17 00:00:00 2001 From: songlh Date: Fri, 28 Jun 2024 17:42:10 +0800 Subject: [PATCH 1/2] fix(ui): load ci type error --- .../components/httpSnmpAD/httpADCategory.vue | 2 ++ .../cmdb/views/ci_types/attributesTable.vue | 2 +- .../cmdb/views/ci_types/ciTypedetail.vue | 13 +++++++++++-- .../src/modules/cmdb/views/ci_types/index.vue | 19 +++++++++++++++++-- 4 files changed, 31 insertions(+), 5 deletions(-) diff --git a/cmdb-ui/src/modules/cmdb/components/httpSnmpAD/httpADCategory.vue b/cmdb-ui/src/modules/cmdb/components/httpSnmpAD/httpADCategory.vue index cbd03fb..5a30752 100644 --- a/cmdb-ui/src/modules/cmdb/components/httpSnmpAD/httpADCategory.vue +++ b/cmdb-ui/src/modules/cmdb/components/httpSnmpAD/httpADCategory.vue @@ -252,6 +252,8 @@ export default { cursor: pointer; position: relative; + min-width: 100px; + text-align: center; &:hover { background-color: @layout-sidebar-selected-color; diff --git a/cmdb-ui/src/modules/cmdb/views/ci_types/attributesTable.vue b/cmdb-ui/src/modules/cmdb/views/ci_types/attributesTable.vue index 4a5d92c..c15d654 100644 --- a/cmdb-ui/src/modules/cmdb/views/ci_types/attributesTable.vue +++ b/cmdb-ui/src/modules/cmdb/views/ci_types/attributesTable.vue @@ -645,7 +645,7 @@ export default { width: 100%; display: flex; flex-wrap: wrap; - justify-content: space-between; + justify-content: flex-start; min-height: 20px; > i { width: 182px; diff --git a/cmdb-ui/src/modules/cmdb/views/ci_types/ciTypedetail.vue b/cmdb-ui/src/modules/cmdb/views/ci_types/ciTypedetail.vue index 7c5f7c3..981e132 100644 --- a/cmdb-ui/src/modules/cmdb/views/ci_types/ciTypedetail.vue +++ b/cmdb-ui/src/modules/cmdb/views/ci_types/ciTypedetail.vue @@ -14,17 +14,18 @@ - +