From 07f2162feac56e9631166207b3d9b19fd38142ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Tue, 24 May 2022 23:06:44 +0800 Subject: [PATCH] Update admin.js --- public/static/admin.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/static/admin.js b/public/static/admin.js index 3e7787f5b..4db316e6e 100644 --- a/public/static/admin.js +++ b/public/static/admin.js @@ -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);