From 637f0ea7073b87963e4f4f9cb68c60c01362221a Mon Sep 17 00:00:00 2001 From: fit2-zhao Date: Wed, 24 Mar 2021 18:10:22 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E5=8C=96):=20=E4=BF=AE=E5=A4=8D=E5=8F=A6=E5=AD=98=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E5=8D=8F=E8=AE=AE=E9=94=99=E8=AF=AF=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/api/automation/scenario/api/AddBasisApi.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/src/business/components/api/automation/scenario/api/AddBasisApi.vue b/frontend/src/business/components/api/automation/scenario/api/AddBasisApi.vue index 2fe043d04d..efc4474c9f 100644 --- a/frontend/src/business/components/api/automation/scenario/api/AddBasisApi.vue +++ b/frontend/src/business/components/api/automation/scenario/api/AddBasisApi.vue @@ -267,6 +267,9 @@ open(api) { if (api) { let data = JSON.parse(JSON.stringify(api)); + if (data.protocol === "dubbo://") { + data.protocol = "DUBBO"; + } data.id = getUUID(); this.httpForm = {id: data.id, name: data.name, protocol: data.protocol, path: data.path, method: api.method, userId: getCurrentUser().id, request: data}; this.getMaintainerOptions();