提交 1e1ea932 authored 作者: 王鹏飞's avatar 王鹏飞

微信自动登录

上级 7a1c1133
......@@ -120,12 +120,12 @@ export default {
Cookies.remove('wechat_login_no_phone_error', {
domain: '.ezijing.com'
})
// if (this.redirectURI) {
// window.location.href = this.redirectURI
// } else {
// this.$router.replace('/')
// }
if (this.redirectURI) {
window.location.href = this.redirectURI
} else {
this.$router.replace('/')
}
// this.$router.replace('/')
} else {
this.$notify(response.msg)
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论