From c583f44f87c0afe94b3749e229a0f5ae75ae01a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=B9=E7=A3=8A?= <294531121@qq.com> Date: Tue, 24 Aug 2021 20:45:38 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-56840=20=E5=B0=86=E5=88=A4=E6=96=AD?= =?UTF-8?q?=E4=B8=8B=E6=8B=89=E6=A1=86=E6=98=AF=E5=90=A6=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E4=BA=86=E6=9F=90=E4=B8=AA=E5=80=BC=E7=9A=84=E5=88=A4=E6=96=AD?= =?UTF-8?q?=E6=96=B9=E6=B3=95=E6=94=B9=E6=88=90=E7=9B=B4=E6=8E=A5=E8=B0=83?= =?UTF-8?q?=E7=94=A8=E7=8E=B0=E6=88=90=E7=9A=84=E8=8E=B7=E5=8F=96=E5=80=BC?= =?UTF-8?q?=E6=96=B9=E6=B3=95=EF=BC=8C=E5=87=8F=E5=B0=91=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E5=86=97=E4=BD=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/fr/design/data/datapane/TreeTableDataDictPane.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/designer-base/src/main/java/com/fr/design/data/datapane/TreeTableDataDictPane.java b/designer-base/src/main/java/com/fr/design/data/datapane/TreeTableDataDictPane.java index a50f89c189..175ddbfda3 100644 --- a/designer-base/src/main/java/com/fr/design/data/datapane/TreeTableDataDictPane.java +++ b/designer-base/src/main/java/com/fr/design/data/datapane/TreeTableDataDictPane.java @@ -202,8 +202,7 @@ public class TreeTableDataDictPane extends BasicPane implements Previewable { } private boolean isNoSelectedColumnName(ValueEditorPane valueEditorPane) { - ColumnNameEditor columnNameEditor = (ColumnNameEditor) valueEditorPane.getCards()[0]; - return StringUtils.isEmpty(columnNameEditor.getColumnName()); + return (Integer) valueEditorPane.update() == -1; } @Override