From ac6c85a49051567d54bef735f2fd14333ab5e9aa Mon Sep 17 00:00:00 2001 From: hehh Date: Wed, 26 Nov 2025 12:36:53 +0800 Subject: [PATCH] =?UTF-8?q?refactor(about):=20=E8=B0=83=E6=95=B4=20DataMan?= =?UTF-8?q?ager=20=E5=88=9D=E5=A7=8B=E5=8C=96=E9=A1=BA=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 DataManager 的初始化移到 UIManager 之后 - 保持依赖注入的一致性 - 提高代码可读性和维护性 --- js/about.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/about.js b/js/about.js index 3bd1f21..3046515 100644 --- a/js/about.js +++ b/js/about.js @@ -53,8 +53,8 @@ class AppCore { constructor() { this.i18n = new I18nManager(); this.theme = new ThemeManager(); - this.data = new DataManager(); this.ui = new UIManager(); + this.data = new DataManager(); } }