xxxrrrdddd il y a 2 ans
Parent
commit
7720e2ffe2
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      public/assets/js/require-table.js

+ 1 - 1
public/assets/js/require-table.js

@@ -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'};