Merge pull request #9339 from metersphere/pr@v1.16@fix_接口测试_自定义query区域第一个参数会默认必填
fix(接口测试): get请求自定义query区域第一个参数会默认必填
This commit is contained in:
commit
a2f97b465d
|
@ -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'
|
||||
}));
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue