添加微信登录

This commit is contained in:
yi-ge 2020-07-23 08:37:04 +08:00
parent dd89e298b9
commit 912d48bf71

View File

@ -32,7 +32,7 @@ export default {
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]
window.location.href = 'https://www.wyr.me/post/' + this.$route.query.state.split('-')[1] + '?hash=comment'
} catch (_) { }
}