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

@@ -281,17 +281,10 @@
if (!col) {
return "";
}
console.log(col)
var items = this.cfg.items[col.split(".")[0]];
let items = this.cfg.items[col.split(".")[0]];
if (items) {
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 '';
},