mirror of
https://github.com/LamGC/ContentGrabbingJi.git
synced 2025-04-30 06:37:36 +00:00
[Fix] SettingProperties 修复无法设置全局配置项的问题;
This commit is contained in:
parent
5830327dad
commit
2cb4fe1dbc
@ -188,10 +188,10 @@ public final class SettingProperties {
|
||||
Objects.requireNonNull(key);
|
||||
Properties targetProperties;
|
||||
if(groupId <= 0) {
|
||||
targetProperties = globalProp;
|
||||
} else {
|
||||
changeList.add(groupId);
|
||||
targetProperties = getGroupProperties(groupId);
|
||||
} else {
|
||||
targetProperties = globalProp;
|
||||
}
|
||||
String lastValue = targetProperties.getProperty(key);
|
||||
if(value != null) {
|
||||
|
Loading…
Reference in New Issue
Block a user