版本:easyui-1.4.1
文件:jquery.easyui.min.js
行号:1076行
函数:_a8(_aa)
替换成下面代码:
function _a8(_aa) { var btn = _a3.nav[_aa]; var a = $("<a href=\"javascript:void(0)\"></a>").appendTo(tr); a.wrap("<td></td>"); //=========================== /* * 2015-03-19 * by:mrlee23 * bug:增加分页当行文本内容 */ var a_opt = { plain: true }; if (_a3.navShowIcon == null || _a3.navShowIcon) { a_opt.iconCls = btn.iconCls; } if (_a3.navText != null && _a3.navText[_aa] != null) { a_opt.text = _a3.navText[_aa]; } //=========================== a.linkbutton(a_opt).unbind(".pagination").bind("click.pagination", function() { btn.handler.call(_a1); }); return a; };
调用方式:
$("#pp").pagination({ layout: ['sep','first','prev','links','next','last','sep','list'], displayMsg: '', navShowIcon:false, navText:{first:"首页",prev:"<<上一页",next:"下一页>>",last:"尾页"} });
* 转载请标明来源或出处