fix(接口测试): 创建接口GET请求参数不能正确显示在QUERY区域

--bug=1009554 --user=王孝刚 [接口定义]-github#9268-创建接口GET请求参数不能正确显示在QUERY区域
https://www.tapd.cn/55049933/s/1091015
This commit is contained in:
wxg0103 2022-01-12 16:06:02 +08:00 committed by 刘瑞斌
parent 5f60e3116b
commit af655d5fa5
1 changed files with 1 additions and 1 deletions

View File

@ -375,7 +375,7 @@
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}));
} }
}); });