refactor(about): 调整 DataManager 初始化顺序
- 将 DataManager 的初始化移到 UIManager 之后 - 保持依赖注入的一致性 - 提高代码可读性和维护性
This commit is contained in:
@@ -53,8 +53,8 @@ class AppCore {
|
|||||||
constructor() {
|
constructor() {
|
||||||
this.i18n = new I18nManager();
|
this.i18n = new I18nManager();
|
||||||
this.theme = new ThemeManager();
|
this.theme = new ThemeManager();
|
||||||
this.data = new DataManager();
|
|
||||||
this.ui = new UIManager();
|
this.ui = new UIManager();
|
||||||
|
this.data = new DataManager();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user