From 3d595c384f1b0eaa7347f2ec5c7d4a977cdad937 Mon Sep 17 00:00:00 2001 From: "xinxin.wu" Date: Tue, 11 Jul 2023 13:20:52 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9cr=5F=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/package.json | 2 +- frontend/src/assets/svg/apitest.svg | 74 +++++++++++++++++++ .../src/assets/svg/{icons => }/promanger.svg | 0 .../src/components/pure/ms-alert/index.vue | 39 ---------- frontend/src/components/pure/ms-alert/type.ts | 5 -- .../pluginManager/components/SceneList.vue | 18 ++--- .../src/views/system/pluginManager/index.vue | 17 ++--- 7 files changed, 87 insertions(+), 68 deletions(-) create mode 100644 frontend/src/assets/svg/apitest.svg rename frontend/src/assets/svg/{icons => }/promanger.svg (100%) delete mode 100644 frontend/src/components/pure/ms-alert/index.vue delete mode 100644 frontend/src/components/pure/ms-alert/type.ts diff --git a/frontend/package.json b/frontend/package.json index 69fcae7914..6c7688b0a0 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -37,7 +37,7 @@ "@7polo/kity": "2.0.8", "@7polo/kityminder-core": "1.4.53", "@arco-design/web-vue": "^2.47.0", - "@arco-themes/vue-ms-theme-default": "^0.0.15", + "@arco-themes/vue-ms-theme-default": "^0.0.17", "@form-create/arco-design": "^3.1.21", "@vueuse/core": "^9.13.0", "ace-builds": "^1.22.0", diff --git a/frontend/src/assets/svg/apitest.svg b/frontend/src/assets/svg/apitest.svg new file mode 100644 index 0000000000..85338a6bf0 --- /dev/null +++ b/frontend/src/assets/svg/apitest.svg @@ -0,0 +1,74 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/frontend/src/assets/svg/icons/promanger.svg b/frontend/src/assets/svg/promanger.svg similarity index 100% rename from frontend/src/assets/svg/icons/promanger.svg rename to frontend/src/assets/svg/promanger.svg diff --git a/frontend/src/components/pure/ms-alert/index.vue b/frontend/src/components/pure/ms-alert/index.vue deleted file mode 100644 index 4139db27b0..0000000000 --- a/frontend/src/components/pure/ms-alert/index.vue +++ /dev/null @@ -1,39 +0,0 @@ - - - - - diff --git a/frontend/src/components/pure/ms-alert/type.ts b/frontend/src/components/pure/ms-alert/type.ts deleted file mode 100644 index b936901808..0000000000 --- a/frontend/src/components/pure/ms-alert/type.ts +++ /dev/null @@ -1,5 +0,0 @@ -export interface SlotContent { - title: string; - slotName: string; -} -export type SlotContentlist = SlotContent[]; diff --git a/frontend/src/views/system/pluginManager/components/SceneList.vue b/frontend/src/views/system/pluginManager/components/SceneList.vue index 6530732442..303c69e9f8 100644 --- a/frontend/src/views/system/pluginManager/components/SceneList.vue +++ b/frontend/src/views/system/pluginManager/components/SceneList.vue @@ -7,7 +7,9 @@ :class="{ 'ms-ls-row--active': item.isSelected }" @click="selectHandler(item)" > -
+
+ +
{{ t(item.name) }}
{{ t(item.description) }}
@@ -27,13 +29,13 @@ name: 'system.plugin.interfaceTest', description: 'system.plugin.interfaceTestDescribe', isSelected: true, - svg: 'api', + svg: 'apitest', }, { name: 'system.plugin.projectManger', description: 'system.plugin.projectMangerDescribe', isSelected: false, - svg: 'project', + svg: 'promanger', }, ]); @@ -46,16 +48,6 @@