fix(接口测试): 修复HTTP协议接口变更后未同步展示请求类型问题
--bug=1017915 --user=赵勇 【接口测试】接口TEST-更新接口后查看api,请求方式没有变更 https://www.tapd.cn/55049933/s/1291609
This commit is contained in:
parent
d5f94faafe
commit
3abdea7bd4
|
@ -894,7 +894,10 @@ export default {
|
||||||
this.basisData.caseTotal = 0;
|
this.basisData.caseTotal = 0;
|
||||||
}
|
}
|
||||||
this.httpForm = JSON.parse(JSON.stringify(this.basisData));
|
this.httpForm = JSON.parse(JSON.stringify(this.basisData));
|
||||||
|
if(this.basisData.request) {
|
||||||
|
this.httpForm.path = this.basisData.request.path;
|
||||||
|
this.httpForm.method = this.basisData.request.method;
|
||||||
|
}
|
||||||
definitionFollow(this.basisData.id).then(response => {
|
definitionFollow(this.basisData.id).then(response => {
|
||||||
this.httpForm.follows = response.data;
|
this.httpForm.follows = response.data;
|
||||||
this.beforeHttpForm.follows = response.data;
|
this.beforeHttpForm.follows = response.data;
|
||||||
|
|
Loading…
Reference in New Issue