不平滑刷新修补代码

This commit is contained in:
bryan31
2021-06-10 12:09:47 +08:00
parent f97f92317a
commit 2a05f61890

View File

@@ -104,7 +104,9 @@ public class FlowBus {
nodeMap.clear();
}
//目前这种方式刷新不完全平滑
public static void refreshFlowMetaData(FlowParserTypeEnum type, String content) throws Exception {
FlowBus.cleanCache();
if (type.equals(FlowParserTypeEnum.TYPE_XML)) {
new LocalXmlFlowParser().parse(content);
} else if (type.equals(FlowParserTypeEnum.TYPE_JSON)) {