mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-05 19:41:44 +08:00
Update admin.js
This commit is contained in:
parent
01b3f636c0
commit
07f2162fea
@ -707,6 +707,8 @@ $(function () {
|
||||
opts = bindData($.extend({}, opts, {loading: true}));
|
||||
if (evt.type.indexOf('reload') > -1) {
|
||||
if (layui.table.reloadData) {
|
||||
var $next = $table.data('next');
|
||||
$next.sort = $next.initSort = opts.initSort, $next.where = data;
|
||||
layui.table.reloadData(table.id, (opts.page || {}).curr || 1);
|
||||
} else {
|
||||
layui.table.reload(table.id, opts);
|
||||
|
Loading…
x
Reference in New Issue
Block a user