From 19c0a28a5ef15392a46d311be6cc2b7a60a91a50 Mon Sep 17 00:00:00 2001 From: "xinxin.wu" Date: Tue, 8 Aug 2023 22:58:07 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E7=B3=BB=E7=BB=9F=E8=AE=BE=E7=BD=AE):=20?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8F=92=E4=BB=B6=E6=8E=A5=E5=8F=A3=E8=B7=AF?= =?UTF-8?q?=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/package.json | 2 +- frontend/src/api/modules/setting/pluginManger.ts | 2 +- frontend/src/models/setting/plugin.ts | 1 - frontend/src/views/setting/organization/member/index.vue | 1 + .../pluginManager/components/scriptDetailDrawer.vue | 8 ++++---- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/frontend/package.json b/frontend/package.json index 7fe255fad4..0fa253ac4c 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -39,7 +39,7 @@ "@7polo/kityminder-core": "1.4.53", "@arco-design/web-vue": "^2.49.2", "@arco-themes/vue-ms-theme-default": "^0.0.25", - "@form-create/arco-design": "^3.1.21", + "@form-create/arco-design": "^3.1.22", "@types/color": "^3.0.3", "@vueuse/core": "^10.2.1", "ace-builds": "^1.22.0", diff --git a/frontend/src/api/modules/setting/pluginManger.ts b/frontend/src/api/modules/setting/pluginManger.ts index d949c280bc..47cf175f8b 100644 --- a/frontend/src/api/modules/setting/pluginManger.ts +++ b/frontend/src/api/modules/setting/pluginManger.ts @@ -21,5 +21,5 @@ export function deletePluginReq(id: string) { return MSR.get({ url: DeletePluginUrl, params: id }); } export function getScriptDetail(pluginId: string, scriptId: string) { - return MSR.get({ url: GetScriptUrl, params: `/${pluginId}/${scriptId}` }); + return MSR.get({ url: GetScriptUrl, params: `${pluginId}/${scriptId}` }); } diff --git a/frontend/src/models/setting/plugin.ts b/frontend/src/models/setting/plugin.ts index 4e62cb5aef..d3d2efa78b 100644 --- a/frontend/src/models/setting/plugin.ts +++ b/frontend/src/models/setting/plugin.ts @@ -46,7 +46,6 @@ export type PluginItem = Partial<{ scenario: string; // 应用场景 organizations: OrganizationsItemList; // 组织列表 pluginForms: PluginForms[]; // 插件步骤 - expand?: any; }>; // 插件管理列表 export type PluginList = PluginItem[]; diff --git a/frontend/src/views/setting/organization/member/index.vue b/frontend/src/views/setting/organization/member/index.vue index 823181a3e7..85aea035f2 100644 --- a/frontend/src/views/setting/organization/member/index.vue +++ b/frontend/src/views/setting/organization/member/index.vue @@ -8,6 +8,7 @@ props.visible, @@ -49,7 +49,7 @@ () => props.value, (val) => { if (val) { - jobDefinition.value = val; + pluginScript.value = val; } } ); @@ -61,7 +61,7 @@ } ); function handleClose() { - emit('update:value', jobDefinition.value); + emit('update:value', pluginScript.value); }