|
@@ -107,10 +107,10 @@ class HomeController extends GetxController {
|
|
|
}
|
|
|
|
|
|
Future<void> handleButtonClick() async {
|
|
|
- if (userMode.value.enable != 1) {
|
|
|
- controllers.global.handleApiError("账号禁用,请刷新账号状态或重启软件");
|
|
|
- return;
|
|
|
- }
|
|
|
+ // if (userMode.value.enable != 1) {
|
|
|
+ // controllers.global.handleApiError("账号禁用,请刷新账号状态或重启软件");
|
|
|
+ // return;
|
|
|
+ // }
|
|
|
|
|
|
if(controllers.cc_service.serviceStatus == RunningState.starting){
|
|
|
controllers.global.handleApiError("服务安装中,请等待");
|
|
@@ -180,6 +180,7 @@ class HomeController extends GetxController {
|
|
|
if (error == "") {
|
|
|
await connectionService.startConnection();
|
|
|
} else {
|
|
|
+ connectionService.updateStatus(ConnectionStatus.disconnected);
|
|
|
globalController.updateMsg("验证失败,{$error}");
|
|
|
}
|
|
|
}
|