From 52f28dd0bf4befb0d0e573806942f74c3a0b3e87 Mon Sep 17 00:00:00 2001 From: roger Date: Thu, 16 Jun 2022 16:10:28 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-73741=20fix:=20=E5=85=AC=E5=BC=8F?= =?UTF-8?q?=E6=A0=A1=E9=AA=8C=E6=8A=A5=E9=94=99=E4=BF=A1=E6=81=AF=E4=B8=AD?= =?UTF-8?q?=E5=AD=97=E7=AC=A6=E4=B8=B2=E4=BD=8D=E7=BD=AE=E4=BB=8E1?= =?UTF-8?q?=E5=BC=80=E5=A7=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/fr/design/formula/FormulaPane.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 2c5db9a314..d4737f084a 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 @@ -886,9 +886,9 @@ public class FormulaPane extends BasicPane implements KeyListener, UIFormula { if (checkResult.isValid()) { showMessageDialog(checkResult.getTips(), checkResult.isValid(), false); } else { - int columns = checkResult.getFormulaCoordinates().getColumns(); + int columns = checkResult.getFormulaCoordinates().getColumns() + 1; String position = StringUtils.EMPTY; - if (columns >= 0) { + if (columns > 0) { position = Toolkit.i18nText("Fine-Design_Basic_Formula_The") + columns + Toolkit.i18nText("Fine-Design_Basic_Formula_Error_Position") + " "; }