From 0ad64f6c85b76feb22a0a1da7524217b845104a8 Mon Sep 17 00:00:00 2001 From: MeterSphere Bot <78466014+metersphere-bot@users.noreply.github.com> Date: Tue, 20 Sep 2022 13:47:33 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E5=AE=9A=E4=B9=89):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BF=AE=E6=94=B9=E6=A8=A1=E5=9D=97=E4=B8=8D?= =?UTF-8?q?=E7=94=9F=E6=95=88=E7=9A=84=E7=BC=BA=E9=99=B7=20(#18056)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1016935 --user=王孝刚 【接口测试】修改接口模块不生效 https://www.tapd.cn/55049933/s/1246332 Co-authored-by: wxg0103 <727495428@qq.com> --- .../components/api/definition/components/ApiConfig.vue | 1 + .../api/definition/components/complete/ApiBaseInfo.vue | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/src/business/components/api/definition/components/ApiConfig.vue b/frontend/src/business/components/api/definition/components/ApiConfig.vue index ee4ccbcc04..3104f4b824 100644 --- a/frontend/src/business/components/api/definition/components/ApiConfig.vue +++ b/frontend/src/business/components/api/definition/components/ApiConfig.vue @@ -280,6 +280,7 @@ export default { setParameter(data) { data.name = this.currentApi.name; data.moduleId = this.currentApi.moduleId; + data.modulePath = this.currentApi.modulePath; data.userId = this.currentApi.userId; data.status = this.currentApi.status; if (this.currentApi.tags instanceof Array) { diff --git a/frontend/src/business/components/api/definition/components/complete/ApiBaseInfo.vue b/frontend/src/business/components/api/definition/components/complete/ApiBaseInfo.vue index 630d373ce9..bbb0d5ea5c 100644 --- a/frontend/src/business/components/api/definition/components/complete/ApiBaseInfo.vue +++ b/frontend/src/business/components/api/definition/components/complete/ApiBaseInfo.vue @@ -199,8 +199,8 @@ export default { } }, setModule(id, data) { - this.basicForm.module = id; - this.basicForm.nodePath = data.path; + this.basicForm.moduleId = id; + this.basicForm.modulePath = data.path; }, validateForm() { let isValidate = true;