diff --git a/src/views/checkManage/Subsection.vue b/src/views/checkManage/Subsection.vue index a2f22a1..342b9b9 100644 --- a/src/views/checkManage/Subsection.vue +++ b/src/views/checkManage/Subsection.vue @@ -265,16 +265,20 @@ export default { var i = 1; for(let a in res.data.columnTabStatus){ this.$set(this.status.column, i, res.data.columnTabStatus[a]); - // this.status.column[i] = res.data.columnTabStatus[a] + i++; } - var j = 1; + + var j = 0; for(let a in res.data.rowTabStatus){ - this.$set(this.status.row, j, res.data.rowTabStatus[a]); - // this.status.row[j] = res.data.rowTabStatus[a] j++; } + for(let a in res.data.rowTabStatus){ + this.$set(this.status.row, j, res.data.rowTabStatus[a]); + + j--; + } } }).catch(err => {