From 7c67717b3c3e288672c75474fbc84ddd29b9cb25 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Tue, 22 Feb 2022 11:22:02 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=8F=AA=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E4=BB=AA=E8=A1=A8=E6=9D=BF=E5=90=8D=E7=A7=B0=E5=90=8E?= =?UTF-8?q?=EF=BC=8C=E7=A7=BB=E5=8A=A8=E7=AB=AF=E5=88=97=E8=A1=A8=E4=B8=8D?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E4=BB=AA=E8=A1=A8=E6=9D=BF=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/io/dataease/service/panel/PanelViewService.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/src/main/java/io/dataease/service/panel/PanelViewService.java b/backend/src/main/java/io/dataease/service/panel/PanelViewService.java index d5e61935cc..82121c05a0 100644 --- a/backend/src/main/java/io/dataease/service/panel/PanelViewService.java +++ b/backend/src/main/java/io/dataease/service/panel/PanelViewService.java @@ -74,11 +74,12 @@ public class PanelViewService { @Transactional(propagation=Propagation.REQUIRES_NEW) public Boolean syncPanelViews(PanelGroupWithBLOBs panelGroup){ - Boolean mobileLayout = false; + Boolean mobileLayout = null; String panelId = panelGroup.getId(); Assert.notNull(panelId, "panelId cannot be null"); String panelData = panelGroup.getPanelData(); if(StringUtils.isNotEmpty(panelData)){ + mobileLayout = false; JSONArray dataArray = JSON.parseArray(panelData); List panelViewInsertDTOList = new ArrayList<>(); for(int i=0;i