This commit is contained in:
2019-04-12 10:12:14 +08:00
parent cf63a3d072
commit 913ee85779
2 changed files with 3 additions and 10 deletions

View File

@@ -181,9 +181,9 @@ var red = {
},
loginCheck: function (json) {
if (json && (json['code'] == -2 || json['referid'])) {
//red.showMsg({type:'error', placement: 'center', msg: '登陆过期,请前往登陆'});
red.showMsg({type:'error', placement: 'center', msg: '登陆过期,请前往登陆'});
setTimeout(function () {
//location.href = "/user/login.html";
location.href = "/user/login.html";
}, 2000);
}
},