layui数据加载完
table.render({ elem: '#news-table', url: '/static/json/news_lists.json', page: true, cols: cols, skin: 'line', toolbar: '#news-toolbar', defaultToolbar: [{ layEvent: 'refresh', icon: 'layui-icon-refresh', }, 'filter', 'print', 'exports'], done: function (res, curr, count) { // layui数据加载完 } }),