fix(接口测试): 创建接口GET请求参数不能正确显示在QUERY区域
--bug=1009554 --user=王孝刚 [接口定义]-github#9268-创建接口GET请求参数不能正确显示在QUERY区域 https://www.tapd.cn/55049933/s/1091015
This commit is contained in:
parent
32ede2b342
commit
976cf63d10
|
@ -468,7 +468,7 @@ export default {
|
||||||
try {
|
try {
|
||||||
let url = new URL(urlStr);
|
let url = new URL(urlStr);
|
||||||
url.searchParams.forEach((value, key) => {
|
url.searchParams.forEach((value, key) => {
|
||||||
if (key && value) {
|
if (key) {
|
||||||
this.request.arguments.splice(0, 0, new KeyValue({name: key, required: false, value: value}));
|
this.request.arguments.splice(0, 0, new KeyValue({name: key, required: false, value: value}));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue