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

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

View File

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

View File

@ -307,7 +307,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",