fix(接口定义) 修复批量添加rest参数问题
This commit is contained in:
parent
f61f273a50
commit
1c28d6bee3
|
@ -262,7 +262,19 @@ export default {
|
|||
}
|
||||
}
|
||||
if (isAdd) {
|
||||
this.request.arguments.unshift(obj);
|
||||
switch (this.activeName) {
|
||||
case "parameters":
|
||||
this.request.arguments.unshift(obj);
|
||||
break;
|
||||
case "rest":
|
||||
this.request.rest.unshift(obj);
|
||||
break;
|
||||
case "headers":
|
||||
this.request.headers.unshift(obj);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue