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;