fix(接口定义): 修复修改模块不生效的缺陷 (#18056)
--bug=1016935 --user=王孝刚 【接口测试】修改接口模块不生效 https://www.tapd.cn/55049933/s/1246332 Co-authored-by: wxg0103 <727495428@qq.com>
This commit is contained in:
parent
15a0da3b73
commit
0ad64f6c85
|
@ -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) {
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue