From f14b53bf60af72c90dd789393d2cec70d92c15ba Mon Sep 17 00:00:00 2001 From: Zhanying <2446962908@qq.com> Date: Wed, 4 Sep 2024 09:57:03 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-132109=20fix:=20FVS=E6=8F=92=E4=BB=B6=20?= =?UTF-8?q?=E6=B5=85=E8=89=B2=E4=B8=BB=E9=A2=98-=E8=A1=A8=E6=A0=BC?= =?UTF-8?q?=E5=86=85=E5=90=88=E5=B9=B6=E5=8D=95=E5=85=83=E6=A0=BC=E5=AF=BC?= =?UTF-8?q?=E8=87=B4=E9=94=AE=E5=85=A5=E6=96=87=E5=AD=97=E9=A2=9C=E8=89=B2?= =?UTF-8?q?=E4=B8=BA=E7=99=BD=E8=89=B2(=E9=9D=9E=E9=BB=98=E8=AE=A4)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/fr/grid/selection/CellSelection.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/designer-realize/src/main/java/com/fr/grid/selection/CellSelection.java b/designer-realize/src/main/java/com/fr/grid/selection/CellSelection.java index ca95a933df..30790428b5 100644 --- a/designer-realize/src/main/java/com/fr/grid/selection/CellSelection.java +++ b/designer-realize/src/main/java/com/fr/grid/selection/CellSelection.java @@ -407,7 +407,9 @@ public class CellSelection extends Selection { if (hasCellElement) { ec.merge(row, row + rowSpan - 1, column, column + columnSpan - 1); } else { - ec.addCellElement(DefaultThemedTemplateCellElementCase.createInstance(column, row, columnSpan, rowSpan, null), true); + TemplateCellElement cellElement = DefaultThemedTemplateCellElementCase.createInstance(column, row, columnSpan, rowSpan, null); + AdjustWorkBookDefaultStyleUtils.adjustCellElement(cellElement); + ec.addCellElement(cellElement, true); } return true;