Browse Source

no message

feature/feature-compatible
赖家华 7 years ago
parent
commit
8a5974acda
1 changed files with 3 additions and 5 deletions
  1. 8
      src/view/month-card.vue

8
src/view/month-card.vue

@ -156,13 +156,11 @@
// window.history.go(0);
// hide_layer(1);
} else if (result.code === 666) {
alert("您还没登录,请先登录!");
document.cookie = '1hjz_mall_coupon_url=' + encodeURI(window.location.href);
alert("您还没登录,请先登录!");
setTimeout(function () {
window.location.href = locationUrl + '/mall/web/user/login';
}, 2000);
window.location.href = locationUrl + '/mall/web/user/login?callback=' + encodeURIComponent(window.location.href);
}, 5000);
} else {
if (result.msg === '' || result.msg === undefined || result.msg == null) {
result.msg = '操作失败,请刷新重试';

Loading…
Cancel
Save