fix: 添加请求头

This commit is contained in:
waliang.wang 2017-08-01 12:26:13 +08:00
parent 064e38ade7
commit ade433ccea

View File

@ -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: '',