更新版本迭代重新登录

This commit is contained in:
wyf
2025-07-25 09:25:04 +08:00
parent 617ea71fe9
commit 19568913bb
11 changed files with 256 additions and 85 deletions

View File

@@ -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