Browse Source

修复bug

una 4 years ago
parent
commit
e5e9a8a85f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      client/pages/common/index/index.js

+ 1 - 1
client/pages/common/index/index.js

@@ -21,7 +21,7 @@ Page({
 
     //  this.authInit();
 
-    if(storageRes.data==null&&storageRes.data==''){
+    if(storageRes.data==null||storageRes.data==''){
       // 没有用户信息获取授权
        this.authInit();
     }else{