|
@@ -653,7 +653,7 @@ define(['jquery', 'bootstrap', 'moment', 'moment/locale/zh-cn', 'bootstrap-table
|
|
|
},
|
|
|
content: function (value, row, index) {
|
|
|
var width = this.width != undefined ? ((/^\d+$/.test(this.width)) ? this.width + "px" : this.width) : "250px";
|
|
|
- return "<div title='"+value+"' style='white-space: normal;text-align:left;word-wrap: break-word; text-overflow:ellipsis; overflow: hidden; max-width:" + width + ";'>" + value + "</div>";
|
|
|
+ return "<div title='"+value+"' style='white-space: normal;text-align:left;word-wrap: break-word; text-overflow:ellipsis; overflow: hidden; max-width:" + width + ";'>" + (value||'') + "</div>";
|
|
|
},
|
|
|
status: function (value, row, index) {
|
|
|
var custom = {normal: 'success', hidden: 'gray', deleted: 'danger', locked: 'info'};
|