From bfb09d1a6e83d207c04f429a16c01d326ad5fffb Mon Sep 17 00:00:00 2001 From: yiming Date: Tue, 10 May 2022 17:48:55 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=98=E7=82=B9=E8=A1=8C=E5=88=97tab?= =?UTF-8?q?=E7=9A=84=E6=98=BE=E7=A4=BAbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/checkManage/Subsection.vue | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) 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 => {