diff --git a/ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js b/ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js index 5d4a2458..b7e8f72b 100644 --- a/ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js +++ b/ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js @@ -154,10 +154,11 @@ var _value = $.common.nullToStr(value); if (_value.length > _length) { _text = _value.substr(0, _length) + "..."; + return $.common.sprintf("%s", _value, _text); } else { _text = _value; + return _text; } - return '' + _text +''; }, // 下拉按钮切换 dropdownToggle: function (value) {