更新版本迭代重新登录
This commit is contained in:
@@ -318,6 +318,20 @@ class _MinePageState extends State<NewMinePage> {
|
||||
'购买和使用智能床过程中,如果遇到疑问可与客服进行联系',
|
||||
path: "",
|
||||
onTap: () async {
|
||||
UserInfoController userInfoController =
|
||||
Get.find();
|
||||
int loginStatus =
|
||||
userInfoController.model.login!;
|
||||
if (loginStatus != 1) {
|
||||
TopSlideNotification.show(
|
||||
context,
|
||||
text: "必须登录提示".tr,
|
||||
textColor:
|
||||
themeController.currentColor.sc9,
|
||||
);
|
||||
Get.toNamed("/loginPage");
|
||||
return;
|
||||
}
|
||||
MHTLoginController mhtLoginController =
|
||||
Get.find<MHTLoginController>();
|
||||
await mhtLoginController
|
||||
|
||||
Reference in New Issue
Block a user