|
@@ -233,11 +233,9 @@ class HomeController extends GetxController {
|
|
|
}
|
|
|
await controllers.global.fetchNodes();
|
|
|
nodeModes = controllers.global.nodeModes;
|
|
|
- await connectionService.coreInit();
|
|
|
-
|
|
|
- await Future.delayed(Duration(seconds: 3)); // 等待核心状态更新
|
|
|
-
|
|
|
isLoading.value = false;
|
|
|
+ await Future.delayed(Duration(seconds: 2)); // 等待核心状态更新
|
|
|
+ await connectionService.coreInit();
|
|
|
});
|
|
|
}
|
|
|
@override
|