mirror of https://gitee.com/makejava/EasyCode.git
修复全局配置分组BUG
This commit is contained in:
parent
3d429faf57
commit
382665ab22
|
@ -127,7 +127,7 @@ public class GlobalConfigSettingForm implements Configurable, BaseSettings {
|
||||||
// 复制配置,防止篡改
|
// 复制配置,防止篡改
|
||||||
this.globalConfigGroupMap = CloneUtils.cloneByJson(settingsStorage.getGlobalConfigGroupMap(), new TypeReference<Map<String, GlobalConfigGroup>>() {
|
this.globalConfigGroupMap = CloneUtils.cloneByJson(settingsStorage.getGlobalConfigGroupMap(), new TypeReference<Map<String, GlobalConfigGroup>>() {
|
||||||
});
|
});
|
||||||
this.currGlobalConfigGroup = this.globalConfigGroupMap.get(settingsStorage.getCurrTypeMapperGroupName());
|
this.currGlobalConfigGroup = this.globalConfigGroupMap.get(settingsStorage.getCurrGlobalConfigGroupName());
|
||||||
if (this.currGlobalConfigGroup == null) {
|
if (this.currGlobalConfigGroup == null) {
|
||||||
this.currGlobalConfigGroup = this.globalConfigGroupMap.get(GlobalDict.DEFAULT_GROUP_NAME);
|
this.currGlobalConfigGroup = this.globalConfigGroupMap.get(GlobalDict.DEFAULT_GROUP_NAME);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue