.
This commit is contained in:
@@ -281,17 +281,10 @@
|
|||||||
if (!col) {
|
if (!col) {
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
console.log(col)
|
|
||||||
|
|
||||||
var items = this.cfg.items[col.split(".")[0]];
|
let items = this.cfg.items[col.split(".")[0]];
|
||||||
if (items) {
|
if (items) {
|
||||||
return items[col.split(".")[1]]['label']
|
return items[col.split(".")[1]]['label']
|
||||||
/*for (var i = 0; i < items.items.length; i++) {
|
|
||||||
if (tableInfo.items[i].name == col.split("$")[1]) {
|
|
||||||
return tableInfo.items[i].label;
|
|
||||||
}
|
|
||||||
}*/
|
|
||||||
|
|
||||||
}
|
}
|
||||||
return '';
|
return '';
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -181,9 +181,9 @@ var red = {
|
|||||||
},
|
},
|
||||||
loginCheck: function (json) {
|
loginCheck: function (json) {
|
||||||
if (json && (json['code'] == -2 || json['referid'])) {
|
if (json && (json['code'] == -2 || json['referid'])) {
|
||||||
//red.showMsg({type:'error', placement: 'center', msg: '登陆过期,请前往登陆'});
|
red.showMsg({type:'error', placement: 'center', msg: '登陆过期,请前往登陆'});
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
//location.href = "/user/login.html";
|
location.href = "/user/login.html";
|
||||||
}, 2000);
|
}, 2000);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user