diff --git a/utils/util.js b/utils/util.js index afbd137..78fcc42 100755 --- a/utils/util.js +++ b/utils/util.js @@ -64,7 +64,6 @@ const getOpenidInfo = (cb, refresh) => { // 判断运行环境:H5还是小程序 const isH5 = typeof window !== 'undefined' && window.location const isWeixinBrowser = isH5 && /MicroMessenger/i.test(navigator.userAgent) - if (isH5 && isWeixinBrowser) { // H5环境下的微信授权登录 wxH5AuthLogin(cb)