mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-02 20:19:16 +08:00
Merge pull request #9340 from metersphere/pr@dev@fix_接口测试_自定义query区域第一个参数会默认必填
fix(接口测试): get请求自定义query区域第一个参数会默认必填
This commit is contained in:
commit
7bbb4115c3
@ -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'
|
||||
}));
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user