From 2b43c7d0e67fb4c56fa0a69addc8b9994db65ee0 Mon Sep 17 00:00:00 2001 From: Hoky <303455184@qq.com> Date: Mon, 23 Aug 2021 17:46:01 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-57892=20=E5=85=AC=E5=BC=8F=E7=BC=96?= =?UTF-8?q?=E8=BE=91=E5=99=A8=E4=BC=98=E5=8C=96=EF=BC=9A=E5=AE=9E=E6=97=B6?= =?UTF-8?q?=E8=AE=A1=E7=AE=97=E8=BF=94=E5=9B=9E=E7=BB=93=E6=9E=9C=E4=B8=BA?= =?UTF-8?q?=E6=97=A5=E6=9C=9F=E6=A0=BC=E5=BC=8F=E6=97=B6=E4=B8=8D=E6=AD=A3?= =?UTF-8?q?=E7=A1=AE=201.=E6=B7=BB=E5=8A=A0=E4=B8=80=E4=B8=AAobject2string?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/fr/design/formula/FormulaPane.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/designer-base/src/main/java/com/fr/design/formula/FormulaPane.java b/designer-base/src/main/java/com/fr/design/formula/FormulaPane.java index d2756c28f..7c4bde420 100644 --- a/designer-base/src/main/java/com/fr/design/formula/FormulaPane.java +++ b/designer-base/src/main/java/com/fr/design/formula/FormulaPane.java @@ -30,6 +30,7 @@ import com.fr.design.mainframe.DesignerContext; import com.fr.design.parameter.ParameterInputPane; import com.fr.design.utils.gui.GUICoreUtils; import com.fr.general.ComparatorUtils; +import com.fr.general.GeneralUtils; import com.fr.log.FineLoggerFactory; import com.fr.main.impl.WorkBook; import com.fr.parser.FRLexer; @@ -724,7 +725,7 @@ public class FormulaPane extends BasicPane implements KeyListener, UIFormula { BaseFormula baseFormula = BaseFormula.createFormulaBuilder().build(formulaText); try { Object value = calculator.evalValue(baseFormula); - messageTips = messageTips + com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Formula_Cal_Result") + ":" + value; + messageTips = messageTips + com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Formula_Cal_Result") + ":" + GeneralUtils.objectToString(value); FineLoggerFactory.getLogger().info("value:{}", value); } catch (UtilEvalError utilEvalError) { FineLoggerFactory.getLogger().error("", utilEvalError);