修复登录页跳转红屏

hmxc
张萌 4 years ago
parent 8058746eaa
commit 1a5dff9efd

@ -249,14 +249,15 @@ class _SettingPageState extends State<SettingPage> {
),
),
onPressed: () {
Navigator.popUntil(context, (route) {
return !Navigator.canPop(context);
});
Navigator.pushReplacement(
context,
CupertinoPageRoute(
builder: (context) => SignInPage(),
));
// Navigator.popUntil(context, (route) {
// return !Navigator.canPop(context);
// });
// Navigator.pushReplacement(
// context,
// CupertinoPageRoute(
// builder: (context) => SignInPage(),
// ));
ARoute.push(context, SignInPage());
},
),
],

Loading…
Cancel
Save