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