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 15:59:32 +08:00 committed by 刘瑞斌
parent 32ede2b342
commit 976cf63d10
1 changed files with 1 additions and 1 deletions

View File

@ -468,7 +468,7 @@ export default {
try {
let url = new URL(urlStr);
url.searchParams.forEach((value, key) => {
if (key && value) {
if (key) {
this.request.arguments.splice(0, 0, new KeyValue({name: key, required: false, value: value}));
}
});