From 1ebe1e9be7700f2b77d92af94421092d56a0e4f3 Mon Sep 17 00:00:00 2001 From: sight <26325820+Sight-wcg@users.noreply.github.com> Date: Sat, 6 Sep 2025 00:11:25 +0800 Subject: [PATCH] update --- src/modules/table.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/modules/table.js b/src/modules/table.js index 82e53001..15729abf 100644 --- a/src/modules/table.js +++ b/src/modules/table.js @@ -2965,9 +2965,7 @@ layui.define(['lay', 'i18n', 'laytpl', 'laypage', 'form', 'util'], function(expo that.resizeObserver.observe(that.elem[0], that.resize.bind(that)); // 同步固定列表格和主表格高度 - that.needSyncFixedColHeight = that.config.syncFixedRowHeight && - (that.layBody.length > 1) && - that.config.lineStyle + that.needSyncFixedColHeight = that.config.syncFixedRowHeight && (that.layBody.length > 1) if(that.needSyncFixedColHeight){ var tableElem = that.layMain.children('table');