From 8ab5feb8524365e5fda949228dcd01cc4849cbb3 Mon Sep 17 00:00:00 2001 From: "song.tianyang" Date: Wed, 27 Jan 2021 19:40:19 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=9C=BA=E6=99=AF=E5=AF=BC=E5=85=A5?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=EF=BC=8C=E9=80=89=E6=8B=A9http=E5=8D=8F?= =?UTF-8?q?=E8=AE=AE=EF=BC=8C=E4=BC=9A=E5=87=BA=E7=8E=B0=E5=85=B6=E4=BB=96?= =?UTF-8?q?=E5=8D=8F=E8=AE=AE=E7=9A=84=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复场景导入接口,选择http协议,会出现其他协议的接口的问题 --- .../api/automation/scenario/api/RelevanceApiList.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/src/business/components/api/automation/scenario/api/RelevanceApiList.vue b/frontend/src/business/components/api/automation/scenario/api/RelevanceApiList.vue index 84ce0cdd70..c76a5eef13 100644 --- a/frontend/src/business/components/api/automation/scenario/api/RelevanceApiList.vue +++ b/frontend/src/business/components/api/automation/scenario/api/RelevanceApiList.vue @@ -193,7 +193,10 @@ export default { } if (this.currentProtocol != null) { this.condition.protocol = this.currentProtocol; + }else{ + this.condition.protocol = "HTTP"; } + let url = '/api/definition/list/'; if (this.isTestPlan) { url = '/api/definition/list/relevance/';