This commit is contained in:
lxy
2020-05-10 23:18:59 +08:00
parent 707e9ee680
commit 68eea7b27d
42 changed files with 5969 additions and 361 deletions

View File

@@ -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);
}
}