Commit d7407c6c by xiawei

投票新地址

parent 2fb160f0
......@@ -40,13 +40,11 @@ export default {
if (!this.userInfo.id) {
this.$Bus.$emit('bus-showLogin', true);
} else {
let id = this.info.id;
let uin = this.channelInfo.uin;
let { previewUrl } = this.info;
let channelId = this.channelInfo.id;
let type = this.type;
let backUrl = encodeURIComponent(window.location.href);
// window.location.href = `/lottery/list?id=${id}&uin=${uin}&stype=${type}&sid=${channelId}&backUrl=${backUrl}`;
window.location.href = `/lottery?id=${id}&uin=${uin}&stype=${type}&sid=${channelId}&backUrl=${backUrl}`;
window.location.href = `${previewUrl}&stype=${type}&sid=${channelId}&backUrl=${backUrl}`;
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment