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

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

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