Browse Source

修复登录事件问题

tags/0.0.1
Weller 4 years ago
parent
commit
700529b9a6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/util/router_util.dart

+ 1
- 1
lib/util/router_util.dart View File

@@ -23,7 +23,7 @@ class RouterUtil {
print(user.toString()); print(user.toString());
if (user?.token == null || user.token == '') { if (user?.token == null || user.token == '') {
print('need login...'); print('need login...');
RouterUtil.goLogin(context);
return RouterUtil.goLogin(context);
} }
} }




Loading…
Cancel
Save