fix: 跳转登录页

This commit is contained in:
guozhigq
2024-06-10 01:09:28 +08:00
parent 3a94281310
commit 61c29d3082
3 changed files with 17 additions and 22 deletions

View File

@ -33,8 +33,7 @@ class MineController extends GetxController {
onLogin() async {
if (!userLogin.value) {
// RoutePush.loginPush();
Get.toNamed('/loginPage');
Get.toNamed('/loginPage', preventDuplicates: false);
} else {
int mid = userInfo.value.mid!;
String face = userInfo.value.face!;