forked from github/dataease
refactor(仪表板): 增加使用旧版本仪表板模板的提示
This commit is contained in:
parent
1ce3ddf574
commit
e09b420fe2
@ -412,6 +412,9 @@ public class PanelGroupService {
|
||||
mobileLayout = panelViewService.havaMobileLayout(templateData);
|
||||
}
|
||||
Map<String, String> dynamicDataMap = gson.fromJson(dynamicData, Map.class);
|
||||
if(dynamicDataMap == null){
|
||||
DataEaseException.throwException("Please use the template after v1.9");
|
||||
}
|
||||
|
||||
List<PanelViewInsertDTO> panelViews = new ArrayList<>();
|
||||
List<PanelGroupExtendDataDTO> viewsData = new ArrayList<>();
|
||||
|
Loading…
Reference in New Issue
Block a user