From ddf579e1c5a2cbc43456ef4d2dab3a892c1bf3e6 Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Tue, 4 Jul 2023 18:16:26 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=B7=B3=E8=BD=AC=E4=B8=8D=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E6=A8=A1=E5=9D=97=E6=A0=91=E7=9A=84=E7=BC=BA?= =?UTF-8?q?=E9=99=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1027563 --user=王孝刚 【接口测试】首页-接口数量统计-接口完成率-点击数量跳转到接口列表-点击执行-跳到TEST页面-模块未显示 https://www.tapd.cn/55049933/s/1389305 --bug=1027562 --user=王孝刚 【接口测试】首页-接口数量统计和接口用例数量统计-点击数字进入接口列表-未显示模块树 https://www.tapd.cn/55049933/s/1389323 --bug=1027566 --user=王孝刚 【接口测试】场景详情-前后置脚本-api定义导入报404-未显示api数据 https://www.tapd.cn/55049933/s/1389336 --- .../automation/scenario/common/function/ApiFuncRelevance.vue | 1 + .../src/business/definition/components/module/ApiModule.vue | 3 +++ 2 files changed, 4 insertions(+) diff --git a/api-test/frontend/src/business/automation/scenario/common/function/ApiFuncRelevance.vue b/api-test/frontend/src/business/automation/scenario/common/function/ApiFuncRelevance.vue index 8d54e700e4..48dbbdaba1 100644 --- a/api-test/frontend/src/business/automation/scenario/common/function/ApiFuncRelevance.vue +++ b/api-test/frontend/src/business/automation/scenario/common/function/ApiFuncRelevance.vue @@ -14,6 +14,7 @@ @refreshTable="refresh" @setModuleOptions="setModuleOptions" :is-read-only="true" + :is-relevance="true" ref="nodeTree" /> diff --git a/api-test/frontend/src/business/definition/components/module/ApiModule.vue b/api-test/frontend/src/business/definition/components/module/ApiModule.vue index 8b549d8619..5451009236 100644 --- a/api-test/frontend/src/business/definition/components/module/ApiModule.vue +++ b/api-test/frontend/src/business/definition/components/module/ApiModule.vue @@ -206,6 +206,9 @@ export default { this.list(); }); } else { + if (!this.condition.protocol) { + this.condition.protocol = 'HTTP'; + } this.$emit('protocolChange', this.condition.protocol); this.list(); }