mirror of
https://github.com/dataease/dataease.git
synced 2025-02-25 12:03:05 +08:00
fix: 修复只修改仪表板名称后,移动端列表不显示仪表板问题
This commit is contained in:
parent
cd5fb46d0d
commit
7c67717b3c
@ -74,11 +74,12 @@ public class PanelViewService {
|
|||||||
|
|
||||||
@Transactional(propagation=Propagation.REQUIRES_NEW)
|
@Transactional(propagation=Propagation.REQUIRES_NEW)
|
||||||
public Boolean syncPanelViews(PanelGroupWithBLOBs panelGroup){
|
public Boolean syncPanelViews(PanelGroupWithBLOBs panelGroup){
|
||||||
Boolean mobileLayout = false;
|
Boolean mobileLayout = null;
|
||||||
String panelId = panelGroup.getId();
|
String panelId = panelGroup.getId();
|
||||||
Assert.notNull(panelId, "panelId cannot be null");
|
Assert.notNull(panelId, "panelId cannot be null");
|
||||||
String panelData = panelGroup.getPanelData();
|
String panelData = panelGroup.getPanelData();
|
||||||
if(StringUtils.isNotEmpty(panelData)){
|
if(StringUtils.isNotEmpty(panelData)){
|
||||||
|
mobileLayout = false;
|
||||||
JSONArray dataArray = JSON.parseArray(panelData);
|
JSONArray dataArray = JSON.parseArray(panelData);
|
||||||
List<PanelViewInsertDTO> panelViewInsertDTOList = new ArrayList<>();
|
List<PanelViewInsertDTO> panelViewInsertDTOList = new ArrayList<>();
|
||||||
for(int i=0;i<dataArray.size();i++){
|
for(int i=0;i<dataArray.size();i++){
|
||||||
|
Loading…
Reference in New Issue
Block a user