提交 7c42cda5 authored 作者: 王鹏飞's avatar 王鹏飞

merge

上级 a8a6647b
...@@ -120,10 +120,6 @@ export default { ...@@ -120,10 +120,6 @@ export default {
} }
}, },
wechatLogin() { wechatLogin() {
<<<<<<< HEAD
if (this.$route.query.t) { return false }
=======
>>>>>>> 692bee4e3ffffd3425e9f36018cd8a7d9adaa976
const appId = 'wx451c01d40d090d7a' const appId = 'wx451c01d40d090d7a'
// 回调地址 // 回调地址
const redirectURI = `https://passport.ezijing.com/rest/wechat/oauth-callback?needCheck=false&identity=transport&redirectUrl=${window.location.href}` const redirectURI = `https://passport.ezijing.com/rest/wechat/oauth-callback?needCheck=false&identity=transport&redirectUrl=${window.location.href}`
...@@ -141,13 +137,6 @@ export default { ...@@ -141,13 +137,6 @@ export default {
) )
} }
}, },
<<<<<<< HEAD
created() {
if (this.isWechat) {
this.redirectUrl = `${window.location.origin}/login?t=1`
this.wechatLogin()
}
=======
beforeMount() { beforeMount() {
this.$store.dispatch('checkLogin').then(isLogin => { this.$store.dispatch('checkLogin').then(isLogin => {
if (isLogin) { if (isLogin) {
...@@ -158,7 +147,6 @@ export default { ...@@ -158,7 +147,6 @@ export default {
} }
} }
}) })
>>>>>>> 692bee4e3ffffd3425e9f36018cd8a7d9adaa976
} }
} }
</script> </script>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论