diff --git a/lib/util/router_util.dart b/lib/util/router_util.dart index 22cd41e..eddd2d7 100644 --- a/lib/util/router_util.dart +++ b/lib/util/router_util.dart @@ -23,7 +23,7 @@ class RouterUtil { print(user.toString()); if (user?.token == null || user.token == '') { print('need login...'); - RouterUtil.goLogin(context); + return RouterUtil.goLogin(context); } }