Commit 007b4941 by 潘琦

微信api

parent bb110a84
...@@ -7,7 +7,7 @@ export const wxpermission = (state, fn) => { ...@@ -7,7 +7,7 @@ export const wxpermission = (state, fn) => {
console.log('微信鉴权') console.log('微信鉴权')
console.log(window.location.href) console.log(window.location.href)
let params = { let params = {
url: window.location.href, url: window.location.href.split('#')[0],
auth_id: store.getters.authId auth_id: store.getters.authId
} }
WXconfirm(params).then(res => { WXconfirm(params).then(res => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment