@@ -46,7 +46,7 @@ export default {
// 登陆
login() {
var that = this;
- that.$http.post("service/auth/wechatAuth", {}).then(res => {
+ that.$http.post("service/auth/wechatAuth", {redirectUrl:location.origin+location.pathname}).then(res => {
if (res.data.url) {
window.location.href = res.data.url;
} else {