Commit ab5d42bc by liwk

commit

1 parent a67e79f3
......@@ -154,7 +154,7 @@ const makePhoneCall = phoneNumber => {
const equityLogin = () => {
const ua = navigator.userAgent.toLowerCase()
let url = window.location.href
if (this.isMiniprogram) {
if (window.__wxjs_environment === 'miniprogram') {
url = `${url}?isTab=true&tabIndex=2`
wx.miniProgram.navigateTo({
url: `/pages/auth/auth?url=${encodeURIComponent(url)}`
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!