Commit dca663d4f132aefca646609ac788c1c52e9fbf63

Authored by 云中非
1 parent 952b0dbb

fix: 初始化组态内容

... ... @@ -66,6 +66,7 @@ public class YtConfigurationCenterServiceImpl
66 66 contentDTO.setType(FastIotConstants.PC_TYPE);
67 67 contentDTO.setName(FastIotConstants.FIRST_PAGE_NAME);
68 68 contentDTO.setConfigurationId(configurationCenter.getId());
  69 + contentDTO.setContent("<mxGraphModel><root><mxCell id=\"0\"/><mxCell id=\"1\" parent=\"0\"/></root></mxGraphModel>");
69 70 ytConfigurationContentService.saveConfigurationContent(contentDTO);
70 71 return configurationCenterDTO;
71 72 }
... ...