.
This commit is contained in:
@@ -40,12 +40,12 @@ var red = {
|
||||
},
|
||||
getPlatToken: function() {
|
||||
let plat = red.getData("sysPlat");
|
||||
if (!plat) {
|
||||
/*if (!plat) {
|
||||
red.showMsg({type:'error', placement: 'center', msg: '登陆过期,请前往登陆'});
|
||||
setTimeout(function () {
|
||||
location.href = "/user/login.html";
|
||||
}, 2000);
|
||||
}
|
||||
}*/
|
||||
return plat["token"];
|
||||
},
|
||||
getJSON: function (url, params = {}, callback) {
|
||||
@@ -211,4 +211,4 @@ var red = {
|
||||
|
||||
String.prototype.replaceAll=function(s,t){
|
||||
return red.replaceAll(this, s, t);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user