From 885808e950dc4c410255f55f29bb82906e098d33 Mon Sep 17 00:00:00 2001 From: RuoYi Date: Fri, 25 Jan 2019 20:14:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9tip=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E5=80=BC20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/static/ruoyi/js/ry-ui.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 32505448..b4934bdf 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 @@ -54,8 +54,8 @@ rightFixedNumber: _rightFixedNumber, // 列冻结的个数(右侧) queryParams: $.table._params, // 传递参数(*) columns: options.columns, // 显示列信息(*) - responseHandler: $.table.responseHandler, // 回调函数 - onLoadSuccess: $.table.onLoadSuccess, // 回调函数 + responseHandler: $.table.responseHandler, // 在加载服务器发送来的数据之前处理函数 + onLoadSuccess: $.table.onLoadSuccess, // 当所有数据被加载时触发处理函数 }); }, // 查询条件 @@ -89,12 +89,12 @@ var pageNumber = table.pageNumber; return pageSize * (pageNumber - 1) + index + 1; }, - // 超出指定长度浮动提示 + // 列超出指定长度浮动提示 tooltip: function (value, length) { - var _length = $.common.isEmpty(length) ? 12 : length; + var _length = $.common.isEmpty(length) ? 20 : length; var _text = ""; if (value.length > _length) { - _text = value.substr(0, _length); + _text = value.substr(0, _length) + "..."; } else { _text = value; }