fix(接口定义): 修复另存为新接口,默认模块丢失的缺陷
--bug=1017830 --user=王孝刚 【接口测试】接口定义-生成测试数据-另存为新接口-默认模块被清空 https://www.tapd.cn/55049933/s/1258821
This commit is contained in:
parent
8ff6efe0a4
commit
a4daad9c8a
|
@ -189,6 +189,8 @@ export default {
|
||||||
data.method = this.api.method;
|
data.method = this.api.method;
|
||||||
data.status = this.api.status;
|
data.status = this.api.status;
|
||||||
data.userId = this.api.userId;
|
data.userId = this.api.userId;
|
||||||
|
data.moduleId = this.api.moduleId;
|
||||||
|
data.modulePath = this.api.modulePath;
|
||||||
data.description = this.api.description;
|
data.description = this.api.description;
|
||||||
this.$emit('saveAsApi', data);
|
this.$emit('saveAsApi', data);
|
||||||
this.$emit('refresh');
|
this.$emit('refresh');
|
||||||
|
|
|
@ -316,6 +316,8 @@ export default {
|
||||||
data.method = req.method;
|
data.method = req.method;
|
||||||
data.path = req.path;
|
data.path = req.path;
|
||||||
data.url = this.api.url;
|
data.url = this.api.url;
|
||||||
|
data.moduleId = this.api.moduleId;
|
||||||
|
data.modulePath = this.api.modulePath;
|
||||||
data.status = this.api.status;
|
data.status = this.api.status;
|
||||||
data.userId = this.api.userId;
|
data.userId = this.api.userId;
|
||||||
data.description = this.api.description;
|
data.description = this.api.description;
|
||||||
|
|
|
@ -190,6 +190,8 @@ export default {
|
||||||
data.method = this.api.method;
|
data.method = this.api.method;
|
||||||
data.status = this.api.status;
|
data.status = this.api.status;
|
||||||
data.userId = this.api.userId;
|
data.userId = this.api.userId;
|
||||||
|
data.moduleId = this.api.moduleId;
|
||||||
|
data.modulePath = this.api.modulePath;
|
||||||
data.description = this.api.description;
|
data.description = this.api.description;
|
||||||
this.$emit('saveAsApi', data);
|
this.$emit('saveAsApi', data);
|
||||||
this.$emit('refresh');
|
this.$emit('refresh');
|
||||||
|
|
|
@ -263,6 +263,8 @@ export default {
|
||||||
data.method = this.api.method;
|
data.method = this.api.method;
|
||||||
data.status = this.api.status;
|
data.status = this.api.status;
|
||||||
data.userId = this.api.userId;
|
data.userId = this.api.userId;
|
||||||
|
data.moduleId = this.api.moduleId;
|
||||||
|
data.modulePath = this.api.modulePath;
|
||||||
data.description = this.api.description;
|
data.description = this.api.description;
|
||||||
this.$emit('saveAsApi', data);
|
this.$emit('saveAsApi', data);
|
||||||
this.$emit('refresh');
|
this.$emit('refresh');
|
||||||
|
|
Loading…
Reference in New Issue