Merge pull request #9340 from metersphere/pr@dev@fix_接口测试_自定义query区域第一个参数会默认必填

fix(接口测试): get请求自定义query区域第一个参数会默认必填
This commit is contained in:
wxg0103 2022-01-13 17:16:40 +08:00 committed by GitHub
commit 7bbb4115c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

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

View File

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