From c9a8b7dc90a9b7cfbe7eb980984aa94227eaef34 Mon Sep 17 00:00:00 2001 From: "Joe.Jiang" Date: Mon, 16 Dec 2019 11:22:07 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-25159=20=E5=8D=95=E5=85=83=E6=A0=BC?= =?UTF-8?q?=E5=85=83=E7=B4=A0-=E9=AB=98=E7=BA=A7-=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E5=80=BC=EF=BC=8C=E5=88=A0=E9=99=A4=E5=85=AC=E5=BC=8F=E5=90=8E?= =?UTF-8?q?=E7=82=B9=E5=87=BB=E6=92=A4=E9=94=80=E5=85=AC=E5=BC=8F=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E4=BC=9A=E4=B8=A2=E5=A4=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/fr/quickeditor/cellquick/CellDSColumnEditor.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/designer-realize/src/main/java/com/fr/quickeditor/cellquick/CellDSColumnEditor.java b/designer-realize/src/main/java/com/fr/quickeditor/cellquick/CellDSColumnEditor.java index 8a2774ac3..fb80e8891 100644 --- a/designer-realize/src/main/java/com/fr/quickeditor/cellquick/CellDSColumnEditor.java +++ b/designer-realize/src/main/java/com/fr/quickeditor/cellquick/CellDSColumnEditor.java @@ -1188,7 +1188,8 @@ public class CellDSColumnEditor extends CellQuickEditor { Object value = cellElement.getValue(); if (value instanceof DSColumn) { DSColumn dSColumn = (DSColumn) (cellElement.getValue()); - dSColumn.setResult(this.formulaField.getFormulaText()); + dSColumn.setResult(StringUtils.isEmpty(this.formulaField.getFormulaText()) ? + null : this.formulaField.getFormulaText()); } } }