From 9f79d7c6c3c401f4ab46be5e43b9937c8f64ebaa Mon Sep 17 00:00:00 2001 From: RuoYi Date: Thu, 18 Apr 2019 12:46:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=AA=E6=9C=89=E5=88=97=E8=B6=85=E5=87=BA?= =?UTF-8?q?=E6=8C=87=E5=AE=9A=E9=95=BF=E5=BA=A6=E6=89=8D=E6=B5=AE=E5=8A=A8?= =?UTF-8?q?=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) {