添加微信登录
This commit is contained in:
parent
f4da5d9455
commit
dd89e298b9
@ -28,9 +28,14 @@ export default {
|
|||||||
duration: 5000
|
duration: 5000
|
||||||
})
|
})
|
||||||
return
|
return
|
||||||
|
} else {
|
||||||
|
try {
|
||||||
|
window.localStorage.visitorToken = data.result.token
|
||||||
|
window.localStorage.visitorInfo = JSON.stringify(data.result.visitorInfo)
|
||||||
|
window.location.href = 'https://www.wyr.me/post/' + this.$route.query.state.split('-')[1]
|
||||||
|
} catch (_) { }
|
||||||
}
|
}
|
||||||
|
|
||||||
window.authSuccess(data)
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user