v1.0: 修复后台标签http格式不展示问题

This commit is contained in:
lzm
2022-10-18 18:48:35 +08:00
parent fca1604865
commit 844673180b

View File

@@ -167,7 +167,7 @@
formatter: function (val,row,index) {
if(null == val || val == '') {
return '-';
} else if (val.indexOf("https") == 0 || val.indexOf("https") == 0) {
} else if (val.indexOf("https") == 0 || val.indexOf("http") == 0) {
return "<img src='" + val + "' width='108' height='45'>";
}else{
return val;