From 8494919fa4ffec3897f950437081c999a72dcd44 Mon Sep 17 00:00:00 2001 From: yaojn Date: Mon, 20 Oct 2025 16:26:37 +0800 Subject: [PATCH] =?UTF-8?q?-=20[=E4=BF=AE=E5=A4=8D]=E8=A1=A8=E5=8D=95?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E8=A1=8C=E8=81=94=E5=8A=A8=E8=A7=84=E5=88=99?= =?UTF-8?q?=E4=BF=9D=E5=AD=98=E5=A4=B1=E6=95=88=20=20=20-=20[=E5=85=B3?= =?UTF-8?q?=E8=81=94]#[1536285267689472]=E8=A1=A8=E5=8D=95=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E8=A1=8C=E8=81=94=E5=8A=A8=E8=A7=84=E5=88=99=E4=BF=9D?= =?UTF-8?q?=E5=AD=98=E5=A4=B1=E6=95=88=20http://192.168.0.96:8090/demo/rdm?= =?UTF-8?q?.html#/bug-detail/939050947543040/939050947543057/1536285267689?= =?UTF-8?q?472?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/resources/plugins/TsSheet/TsSheet.vue | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/resources/plugins/TsSheet/TsSheet.vue b/src/resources/plugins/TsSheet/TsSheet.vue index 198f84f2..e41136c2 100644 --- a/src/resources/plugins/TsSheet/TsSheet.vue +++ b/src/resources/plugins/TsSheet/TsSheet.vue @@ -1075,7 +1075,7 @@ export default { let tableRowList = []; (this.config?.tableList || []).forEach((v) => { if (v && v.hasOwnProperty('row')) { - const currentRow = v.row + 1; + const currentRow = v.row; if (!tableRowList.includes(currentRow)) { tableRowList.push(currentRow); } @@ -1103,11 +1103,7 @@ export default { } if (this.$utils.isEmpty(item.conditionGroupList)) { if (!this.$utils.isEmpty(item.rows)) { - for (let j = item.rows.length - 1; j >= 0; j--) { - if (!tableRowList.includes(j)) { - item.rows.splice(j, 1); - } - } + item.rows = item.rows.filter(d => tableRowList.includes(d)); } item.conditionGroupRelList = []; } -- Gitee