fix(接口测试): 修复接口定义path无法编辑的缺陷
--bug=1019649 --user=王孝刚 [接口测试]github#19718接口定义,创建接口,无法输入URL https://www.tapd.cn/55049933/s/1295675
This commit is contained in:
parent
37e7e93cac
commit
161336a8f7
|
@ -910,7 +910,7 @@ 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) {
|
if (this.basisData.request && this.basisData.id) {
|
||||||
this.httpForm.path = this.basisData.request.path;
|
this.httpForm.path = this.basisData.request.path;
|
||||||
this.httpForm.method = this.basisData.request.method;
|
this.httpForm.method = this.basisData.request.method;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue