mirror of
https://github.com/YMFE/yapi.git
synced 2025-03-01 14:05:44 +08:00
fix: 添加请求头
This commit is contained in:
parent
064e38ade7
commit
ade433ccea
@ -42,7 +42,8 @@ class ReqHeader extends Component {
|
||||
addSeqGroup () {
|
||||
let newSeqGroup = []
|
||||
let seqGroup = this.props.seqGroup
|
||||
let id = seqGroup[seqGroup.length-1].id
|
||||
let length = seqGroup.length
|
||||
let id = length ? seqGroup[length-1].id : 0
|
||||
let list = {
|
||||
id: ++id,
|
||||
value: '',
|
||||
|
Loading…
Reference in New Issue
Block a user