|
@@ -298,6 +298,7 @@ define(['jquery', 'bootstrap', 'moment', 'moment/locale/zh-cn', 'bootstrap-table
|
|
return '<i class="' + value + '"></i> ' + value;
|
|
return '<i class="' + value + '"></i> ' + value;
|
|
},
|
|
},
|
|
image: function (value, row, index) {
|
|
image: function (value, row, index) {
|
|
|
|
+ value=value?value:'/assets/img/blank.gif';
|
|
var classname = typeof this.classname !== 'undefined' ? this.classname : 'img-sm img-center';
|
|
var classname = typeof this.classname !== 'undefined' ? this.classname : 'img-sm img-center';
|
|
return '<img class="' + classname + '" src="' + Fast.api.cdnurl(value) + '" />';
|
|
return '<img class="' + classname + '" src="' + Fast.api.cdnurl(value) + '" />';
|
|
},
|
|
},
|
|
@@ -306,6 +307,7 @@ define(['jquery', 'bootstrap', 'moment', 'moment/locale/zh-cn', 'bootstrap-table
|
|
var arr = value.split(',');
|
|
var arr = value.split(',');
|
|
var html = [];
|
|
var html = [];
|
|
$.each(arr, function (i, value) {
|
|
$.each(arr, function (i, value) {
|
|
|
|
+ value=value?value:'/assets/img/blank.gif';
|
|
html.push('<img class="' + classname + '" src="' + Fast.api.cdnurl(value) + '" />');
|
|
html.push('<img class="' + classname + '" src="' + Fast.api.cdnurl(value) + '" />');
|
|
});
|
|
});
|
|
return html.join(' ');
|
|
return html.join(' ');
|