更新默认本地语言
This commit is contained in:
@@ -57,11 +57,11 @@ var routes = {
|
||||
// "/loginPage": (contxt) => LoginPage(),
|
||||
// "/otherLoginPage": (contxt) => OtherLoginPage(),
|
||||
"/loginPage": (contxt) => OtherLoginPage(),
|
||||
// "/otherLoginPage": (contxt) => OtherLoginPage(),
|
||||
"/otherLoginPage": (contxt) => OtherLoginPage(),
|
||||
"/deviceType": (contxt, {arguments}) => DeviceTypePage(),
|
||||
"/blueteethDevice": (contxt) => BlueteethDevicePage(),
|
||||
"/personPage": (contxt) => PersonPage(),
|
||||
"/bindDeviceSuccess": (contxt) => BindDeviceSuccess(),
|
||||
"/bindDeviceSuccess": (contxt) => BindDeviceSuccess(),
|
||||
"/wifiPage": (contxt, {arguments}) => WifiPage(type: arguments),
|
||||
"/wifiPagePerson": (contxt, {arguments}) => WifiPagePerson(type: arguments),
|
||||
"/updateUserPage": (contxt) => UpdateUserPage(),
|
||||
@@ -119,7 +119,9 @@ var onGenerateRoute = (RouteSettings settings) {
|
||||
// 如果用户未登录且访问的不是登录页面等,展示提示并重定向
|
||||
if (settings.name != "/loginPage" &&
|
||||
settings.name != "/otherLoginPage" &&
|
||||
settings.name != "/mianPageBottomChange") {
|
||||
settings.name != "/mianPageBottomChange" &&
|
||||
settings.name != "/userSchemePage" &&
|
||||
settings.name != "/privacyPage") {
|
||||
TopSlideNotification.show(
|
||||
Get.context!,
|
||||
text: "必须登录提示".tr,
|
||||
|
||||
Reference in New Issue
Block a user