From 24a9468906a1570989b73d0b31da3eba5fd618d4 Mon Sep 17 00:00:00 2001 From: yaojn Date: Mon, 6 Nov 2023 17:54:21 +0800 Subject: [PATCH] =?UTF-8?q?-=20[=E4=BF=AE=E5=A4=8D]=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E6=98=BE=E7=A4=BA=E8=A1=8C=EF=BC=8C=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E7=A9=BA=E8=A1=8C=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/resources/plugins/TsSheet/TsSheet.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/resources/plugins/TsSheet/TsSheet.vue b/src/resources/plugins/TsSheet/TsSheet.vue index 76ab681a..72db0fab 100644 --- a/src/resources/plugins/TsSheet/TsSheet.vue +++ b/src/resources/plugins/TsSheet/TsSheet.vue @@ -1688,7 +1688,7 @@ export default { if (this.mode !== 'edit') { //只读模式,从下面消除所有没有设置组件的单元格 for (let i = lefterList.length - 1; i >= 0; i--) { - if (!this.config.tableList.find(cell => cell.row === i && (cell.component || cell.content || this.checkCellIsInSpan(cell)))) { + if (!this.config.tableList.find(cell => cell.row === (lefterList[i].index) && (cell.component || cell.content || this.checkCellIsInSpan(cell)))) { lefterList.splice(i, 1); } } -- Gitee