sth
This commit is contained in:
parent
bceea13d7e
commit
73c7008e3b
|
|
@ -768,7 +768,9 @@ define(['jquery', 'bootstrap', 'moment', 'moment/locale/zh-cn', 'bootstrap-table
|
|||
});
|
||||
return html.join(' ');
|
||||
},
|
||||
|
||||
content: function (value, row, index) {
|
||||
|
||||
var width = this.width != undefined ? (this.width.toString().match(/^\d+$/) ? this.width + "px" : this.width) : "250px";
|
||||
var hover = this.hover != undefined && this.hover ? "autocontent-hover" : "";
|
||||
return "<div class='autocontent-item " + hover + "' style='white-space: nowrap; text-overflow:ellipsis; overflow: hidden; max-width:" + width + ";'>" + (value??'') + "</div>";
|
||||
|
|
|
|||
5
public/assets/js/require.min.js
vendored
5
public/assets/js/require.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user