李志伟 3 年之前
父節點
當前提交
823f731144
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      lib/pages/main/index.dart

+ 1
- 1
lib/pages/main/index.dart 查看文件

@@ -23,7 +23,7 @@ class Main extends BasicPage {
23 23
         message: '确定要退出登陆吗?',
24 24
         onConfirm: () {
25 25
           box.remove('token');
26
-          Get.offNamed('/login');
26
+          Get.offAllNamed('/login');
27 27
           return true;
28 28
         },
29 29
         onCancel: () => true);