fix(接口测试): get请求自定义query区域第一个参数会默认必填

--bug=1009576 --user=王孝刚 【接口测试】github#9301,get请求==自定义query区域第一个参数会默认必填
https://www.tapd.cn/55049933/s/1091492
This commit is contained in:
wxg0103 2022-01-13 16:50:50 +08:00
parent 922ba2b57c
commit 0fad7586bc
2 changed files with 2 additions and 2 deletions

View File

@ -296,7 +296,7 @@ export default {
this.parameters.push(new KeyValue({ this.parameters.push(new KeyValue({
type: 'text', type: 'text',
enable: true, enable: true,
required: true, required: false,
uuid: this.uuid(), uuid: this.uuid(),
contentType: 'text/plain' contentType: 'text/plain'
})); }));

View File

@ -307,7 +307,7 @@ export default {
let required = false; let required = false;
keyValues.unshift(new KeyValue({ keyValues.unshift(new KeyValue({
name: line[0], name: line[0],
required: !required, required: required,
value: line[1], value: line[1],
description: line[2], description: line[2],
type: "text", type: "text",