feat:切换flutter版本
This commit is contained in:
1 parent
ee761ccc48
commit
72443f7abf
32 files changed
+536
-375
No files matched your search
@@ -19,6 +19,7 @@ class AppControl extends GetxController {
|
||||
|
||||
/// mq
|
||||
StreamSubscription? mqListen;
|
||||
|
||||
EventBus mqUpdateEventBus = EventBus();
|
||||
|
||||
/// 数据库
|
||||
@@ -34,7 +35,7 @@ class AppControl extends GetxController {
|
||||
serialCardManage.close();
|
||||
srialSteelyardManage.close();
|
||||
AppNetworkTool.closeListenNetwork();
|
||||
// TtsManage.dispose();
|
||||
TtsManage.dispose();
|
||||
}
|
||||
|
||||
Future<void> initAsync() async {
|
||||
@@ -43,8 +44,8 @@ class AppControl extends GetxController {
|
||||
serialCardManage = SerialCardManage();
|
||||
srialSteelyardManage = SerialSteelyardManage();
|
||||
AppNetworkTool.listenNetwork();
|
||||
// await AppFileTool.backupSqlFile();
|
||||
// await TtsManage.initialize();
|
||||
await AppFileTool.backupSqlFile();
|
||||
await TtsManage.initialize();
|
||||
Get.offAllNamed(RouteNames.login);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user