下载新版本
This commit is contained in:
@@ -49,6 +49,8 @@ class HomeViewModel extends BaseUIModel {
|
||||
|
||||
Future.delayed(const Duration(milliseconds: 700), () {
|
||||
_checkLogin();
|
||||
|
||||
_checkAppVersion();
|
||||
});
|
||||
|
||||
EventManager.addListener<CallStatusChangeEvent>(this, (event) {
|
||||
@@ -88,6 +90,10 @@ class HomeViewModel extends BaseUIModel {
|
||||
yjPrint("is login $flag");
|
||||
}
|
||||
|
||||
_checkAppVersion() {
|
||||
AppManager.checkAppVersion();
|
||||
}
|
||||
|
||||
void setIndex(int index) {
|
||||
if (_currentIndex == index) {
|
||||
return;
|
||||
|
||||
@@ -7,10 +7,8 @@ import '../common/base/provider.dart';
|
||||
class OrderView extends BaseUI {
|
||||
@override
|
||||
Widget buildBody(BuildContext context) {
|
||||
return Container(
|
||||
child: Center(
|
||||
child: Text("Order"),
|
||||
),
|
||||
return const Center(
|
||||
child: Text("Order"),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user