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) {
|
setParameter(data) {
|
||||||
data.name = this.currentApi.name;
|
data.name = this.currentApi.name;
|
||||||
data.moduleId = this.currentApi.moduleId;
|
data.moduleId = this.currentApi.moduleId;
|
||||||
|
data.modulePath = this.currentApi.modulePath;
|
||||||
data.userId = this.currentApi.userId;
|
data.userId = this.currentApi.userId;
|
||||||
data.status = this.currentApi.status;
|
data.status = this.currentApi.status;
|
||||||
if (this.currentApi.tags instanceof Array) {
|
if (this.currentApi.tags instanceof Array) {
|
||||||
|
|
|
@ -199,8 +199,8 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
setModule(id, data) {
|
setModule(id, data) {
|
||||||
this.basicForm.module = id;
|
this.basicForm.moduleId = id;
|
||||||
this.basicForm.nodePath = data.path;
|
this.basicForm.modulePath = data.path;
|
||||||
},
|
},
|
||||||
validateForm() {
|
validateForm() {
|
||||||
let isValidate = true;
|
let isValidate = true;
|
||||||
|
|
Loading…
Reference in New Issue