From 71f5cfa5746eb04e801a642e4da2e43b78224f3c Mon Sep 17 00:00:00 2001 From: yaojn Date: Mon, 13 Nov 2023 15:55:48 +0800 Subject: [PATCH] =?UTF-8?q?-=20[=E4=BF=AE=E5=A4=8D]=E8=A1=A8=E5=8D=95?= =?UTF-8?q?=E7=BC=96=E8=BE=91-=E8=A1=A8=E6=A0=BC=E8=A1=8C=E6=95=B0?= =?UTF-8?q?=E5=BC=82=E5=B8=B8=20=20-=20[=E5=85=B3=E8=81=94]#[1023714945105?= =?UTF-8?q?920]=E8=A1=A8=E5=8D=95=E7=BC=96=E8=BE=91-=E8=A1=A8=E6=A0=BC?= =?UTF-8?q?=E8=A1=8C=E6=95=B0=E5=BC=82=E5=B8=B8=20http://192.168.0.96:8090?= =?UTF-8?q?/demo/rdm.html#/bug-detail/939050947543040/939050947543057/1023?= =?UTF-8?q?714945105920?= 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 f20949890..5096fd624 100644 --- a/src/resources/plugins/TsSheet/TsSheet.vue +++ b/src/resources/plugins/TsSheet/TsSheet.vue @@ -788,7 +788,7 @@ export default { this.$nextTick(() => { if (row != null) { - const lefter = this.$utils.deepClone(this.config.lefterList[row]); // 深拷贝,解决组件行间距很宽的问题 + const lefter = this.mode == 'read' ? this.$utils.deepClone(this.config.lefterList[row]) : this.config.lefterList[row]; // 深拷贝,只读模式下组件行间距很宽的问题 const lrect = this.$refs['lefter' + row] && this.$refs['lefter' + row][0] ? this.$refs['lefter' + row][0].getBoundingClientRect() : {}; if (lrect.height > lefter.height) { lefter.height = Math.max(lrect.height, this.minHeight); -- Gitee