Browse Source

no message

feature/feature-compatible
赖家华 7 years ago
parent
commit
1695c1a243
1 changed files with 4 additions and 0 deletions
  1. 4
      src/view/month-card.vue

4
src/view/month-card.vue

@ -79,6 +79,7 @@
var token = strCookie.slice(cookieName.length); var token = strCookie.slice(cookieName.length);
var locationUrl = configs.locationUrl; var locationUrl = configs.locationUrl;
// console.log(arr) // console.log(arr)
export default { export default {
@ -156,6 +157,9 @@
// hide_layer(1); // hide_layer(1);
} else if (result.code === 666) { } else if (result.code === 666) {
alert("您还没登录,请先登录!"); alert("您还没登录,请先登录!");
document.cookie = '1hjz_mall_coupon_url=' + encodeURI(window.location.href);
setTimeout(function () { setTimeout(function () {
window.location.href = locationUrl + '/mall/web/user/login'; window.location.href = locationUrl + '/mall/web/user/login';
}, 2000); }, 2000);

Loading…
Cancel
Save