mirror of https://gitee.com/makejava/EasyCode.git
修复无法切换模板分组BUG
This commit is contained in:
parent
382665ab22
commit
a121a8a70e
|
@ -131,7 +131,7 @@ public class TemplateSettingForm implements Configurable, BaseSettings {
|
|||
// 复制配置,防止篡改
|
||||
this.templateGroupMap = CloneUtils.cloneByJson(settingsStorage.getTemplateGroupMap(), new TypeReference<Map<String, TemplateGroup>>() {
|
||||
});
|
||||
this.currTemplateGroup = this.templateGroupMap.get(settingsStorage.getCurrTypeMapperGroupName());
|
||||
this.currTemplateGroup = this.templateGroupMap.get(settingsStorage.getCurrTemplateGroupName());
|
||||
if (this.currTemplateGroup == null) {
|
||||
this.currTemplateGroup = this.templateGroupMap.get(GlobalDict.DEFAULT_GROUP_NAME);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue