fix(接口测试): 创建API定义前端报错问题
--bug=1033905 --user=宋昌昌 【接口测试】创建api失败-前端报错 https://www.tapd.cn/55049933/s/1447408
This commit is contained in:
parent
2860874293
commit
347d81b533
|
@ -433,7 +433,7 @@ export default {
|
|||
setParameters(data) {
|
||||
data.projectId = this.projectId;
|
||||
this.request.name = this.currentApi.name;
|
||||
this.request.path = this.currentApi.path.trimEnd();
|
||||
this.request.path = data.path.trimEnd();
|
||||
data.protocol = this.currentProtocol;
|
||||
data.request = this.request;
|
||||
data.request.name = data.name;
|
||||
|
|
Loading…
Reference in New Issue