杨华轩 4 years ago
parent
commit
06e296c24c
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