Browse Source

fix: handle the login logic of the bound wechat account

wangyuan 2 years ago
parent
commit
ada790bb83
1 changed files with 4 additions and 0 deletions
  1. 4 0
      pages/login/login.js

+ 4 - 0
pages/login/login.js

@@ -127,6 +127,10 @@ Page({
               }
               }
             }
             }
           })
           })
+        } else { // 已经绑定过微信
+          wx.redirectTo({
+            url: '/pages/permissions/permissions',
+          })
         }
         }
       }).catch(e => {
       }).catch(e => {
         wx.hideLoading()
         wx.hideLoading()