fix: 跳转登录页

This commit is contained in:
guozhigq
2024-06-10 01:09:28 +08:00
parent a503d1bc5d
commit 0f5508e3ce
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!;