mirror of
https://github.com/getrebuild/rebuild.git
synced 2025-02-24 22:35:04 +08:00
Update StateManager.java
This commit is contained in:
parent
0b14404196
commit
8250b79db8
1 changed files with 2 additions and 1 deletions
|
@ -65,7 +65,8 @@ public class StateManager {
|
|||
final String cKey = "STATECLASS-" + stateClass;
|
||||
JSONArray options = (JSONArray) Application.getCommonCache().getx(cKey);
|
||||
if (options != null) {
|
||||
return options;
|
||||
// 使用副本
|
||||
return JSON.parseArray(options.toJSONString());
|
||||
}
|
||||
|
||||
Class<?> state = StateHelper.getSatetClass(stateClass);
|
||||
|
|
Loading…
Reference in a new issue