优化初始化检测逻辑

(cherry picked from commit c38e2f02d113e93a20548045d07de3faddadedda)
This commit is contained in:
2025-10-31 18:19:40 +08:00
committed by speakeloudest
parent 442ea458b7
commit b716ba8294
3 changed files with 100 additions and 12 deletions
@@ -68,6 +68,10 @@ class KRSplashController extends GetxController {
KRLogUtil.kr_i('[SPLASH_TIMING] 🎬 启动页控制器 onInit', tag: 'SplashController');
KRLogUtil.kr_i('[SPLASH_TIMING] ═══════════════════════════════════════', tag: 'SplashController');
// 🔧 修复1:应用启动时清理域名检测静态状态
print('🧹 清理域名检测状态...');
KRDomain.kr_resetDomainState();
// 🔧 P2优化:网站配置和设备登录在后台执行,不阻塞主流程
print('🌐 启动后台任务:网站配置加载...');
KRLogUtil.kr_i('🌐 后台任务:网站配置和设备登录', tag: 'SplashController');