fix(接口测试): 另存为接口定义ms自动写入的url和当前填写的接口路径不一致
--bug=1037130 --user=王旭 【接口测试】github#29399,场景 接口步骤 后续点击 另存为接口定义-》创建接口,ms自动写入的url和当前填写的接口路径不一致 https://www.tapd.cn/55049933/s/1627469
This commit is contained in:
parent
3cf8fdc6e9
commit
a47f7440e1
|
@ -337,12 +337,11 @@ export default {
|
||||||
data.protocol = 'DUBBO';
|
data.protocol = 'DUBBO';
|
||||||
}
|
}
|
||||||
data.id = getUUID();
|
data.id = getUUID();
|
||||||
data.path = this.httpForm.path;
|
|
||||||
this.httpForm = {
|
this.httpForm = {
|
||||||
id: data.id,
|
id: data.id,
|
||||||
name: data.name,
|
name: data.name,
|
||||||
protocol: data.protocol,
|
protocol: data.protocol,
|
||||||
path: data.path ? data.path : data.url,
|
path: data.url,
|
||||||
method: api.method,
|
method: api.method,
|
||||||
userId: getCurrentUser().id,
|
userId: getCurrentUser().id,
|
||||||
request: data,
|
request: data,
|
||||||
|
|
Loading…
Reference in New Issue