From 778dcc9ac93f1f8d4d5e4c84cbabcc839636bcf8 Mon Sep 17 00:00:00 2001 From: pengda Date: Wed, 3 Mar 2021 19:54:00 +0800 Subject: [PATCH] =?UTF-8?q?CHART-17714=20=E8=BD=AE=E6=92=ADgis=E7=82=B9?= =?UTF-8?q?=E5=9C=B0=E5=9B=BE-=E5=8D=AB=E6=98=9F=E5=9B=BE=E5=B1=82-?= =?UTF-8?q?=E9=A2=84=E8=A7=88=E6=8E=A7=E5=88=B6=E5=8F=B0=E6=8A=9B=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../widget/ui/designer/layout/AbstractFRLayoutDefinePane.java | 2 ++ .../design/widget/ui/designer/layout/FRFitLayoutDefinePane.java | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/designer-form/src/main/java/com/fr/design/widget/ui/designer/layout/AbstractFRLayoutDefinePane.java b/designer-form/src/main/java/com/fr/design/widget/ui/designer/layout/AbstractFRLayoutDefinePane.java index 0a718ee60c..efa2729c2c 100644 --- a/designer-form/src/main/java/com/fr/design/widget/ui/designer/layout/AbstractFRLayoutDefinePane.java +++ b/designer-form/src/main/java/com/fr/design/widget/ui/designer/layout/AbstractFRLayoutDefinePane.java @@ -31,6 +31,8 @@ public abstract class AbstractFRLayoutDefinePane extends for (int i = 0, len = srcLayout.getListenerSize(); i < len; i++) { destLayout.addListener(srcLayout.getListener(i)); } + srcLayout.clearListeners(); + srcLayout.clearMobileWidgetList(); } } diff --git a/designer-form/src/main/java/com/fr/design/widget/ui/designer/layout/FRFitLayoutDefinePane.java b/designer-form/src/main/java/com/fr/design/widget/ui/designer/layout/FRFitLayoutDefinePane.java index 4481307bff..e073b2b15c 100644 --- a/designer-form/src/main/java/com/fr/design/widget/ui/designer/layout/FRFitLayoutDefinePane.java +++ b/designer-form/src/main/java/com/fr/design/widget/ui/designer/layout/FRFitLayoutDefinePane.java @@ -207,7 +207,7 @@ public class FRFitLayoutDefinePane extends AbstractFRLayoutDefinePane