首页 > 其他 > 详细

bootstrap-table页码ALL显示为NAN

时间:2018-11-21 14:28:29      阅读:415      评论:0      收藏:0      [点我收藏+]

在github上查阅找到的解决办法:

https://github.com/wenzhixin/bootstrap-table/issues/435

页面部分:

data-page-list="[10, 25, 50, 100, ALL]"

在引用的全球化语言文件里 bootstrap-table-zh-CN.js 加如下方法即可:

 formatAllRows: function () {
            return ‘ALL‘; // or return your translated word "全部"
        }

 

bootstrap-table页码ALL显示为NAN

原文:https://www.cnblogs.com/kennyliu/p/9994686.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!