Browse Source

CHART-12746

feature/big-screen
白岳 5 years ago
parent
commit
ff23933b9c
  1. 4
      designer-base/src/main/java/com/fr/design/mainframe/chart/info/ChartInfo.java

4
designer-base/src/main/java/com/fr/design/mainframe/chart/info/ChartInfo.java

@ -176,7 +176,6 @@ public class ChartInfo implements XMLReadable, XMLWriter {
templateId = reader.getAttrAsString(ATTR_TEMPLATE_ID, StringUtils.EMPTY); templateId = reader.getAttrAsString(ATTR_TEMPLATE_ID, StringUtils.EMPTY);
testTemplate = reader.getAttrAsBoolean(ATTR_TEST_TEMPLATE, true); testTemplate = reader.getAttrAsBoolean(ATTR_TEST_TEMPLATE, true);
} else { } else {
try {
String name = reader.getTagName(); String name = reader.getTagName();
if (XML_CHART_CONSUMING_MAP.equals(name)) { if (XML_CHART_CONSUMING_MAP.equals(name)) {
chartConsumingMap.put(ATTR_USERNAME, reader.getAttrAsString(ATTR_USERNAME, StringUtils.EMPTY)); chartConsumingMap.put(ATTR_USERNAME, reader.getAttrAsString(ATTR_USERNAME, StringUtils.EMPTY));
@ -193,9 +192,6 @@ public class ChartInfo implements XMLReadable, XMLWriter {
chartConsumingMap.put(ATTR_JAR_TIME, reader.getAttrAsString(ATTR_JAR_TIME, StringUtils.EMPTY)); chartConsumingMap.put(ATTR_JAR_TIME, reader.getAttrAsString(ATTR_JAR_TIME, StringUtils.EMPTY));
chartConsumingMap.put(ATTR_VERSION, reader.getAttrAsString(ATTR_VERSION, "8.0")); chartConsumingMap.put(ATTR_VERSION, reader.getAttrAsString(ATTR_VERSION, "8.0"));
} }
} catch (Exception ex) {
// 什么也不做,使用默认值
}
} }
} }

Loading…
Cancel
Save