修复全局配置分组BUG

This commit is contained in:
makejava 2021-09-04 13:49:39 +08:00
parent 3d429faf57
commit 382665ab22
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ public class GlobalConfigSettingForm implements Configurable, BaseSettings {
// 复制配置防止篡改
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) {
this.currGlobalConfigGroup = this.globalConfigGroupMap.get(GlobalDict.DEFAULT_GROUP_NAME);
}