From 7a11f031960b948ee7a7f13d27272617da1f2664 Mon Sep 17 00:00:00 2001 From: Anyon Date: Wed, 2 Mar 2022 12:37:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=B4=E6=97=B6=E5=88=87=E6=8D=A2=E5=9B=9Ere?= =?UTF-8?q?nder=E8=B0=83=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/static/admin.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/public/static/admin.js b/public/static/admin.js index 957dc02ee..8980cd556 100644 --- a/public/static/admin.js +++ b/public/static/admin.js @@ -430,9 +430,7 @@ $(function () { window.onhashchange.call(this); }; }; - - - /*! 注册对象到Jq */ + /*! 表单验证组件 */ $.vali = function (form, callable) { return $(form).data('validate') || new Validate(); @@ -511,7 +509,7 @@ $(function () { } }; - /*! 自动监听规则内表单 */ + /*! 自动监听表单 */ $.vali.listen = function () { $('form[data-auto]').map(function (index, form) { $(this).vali(function (data) { @@ -707,7 +705,8 @@ $(function () { if (evt.type === 'render') { layui.table.reload(table.id, bindData(opts || {})); } else { - layui.table.reloadData(table.id, bindData(opts || {})); + layui.table.reload(table.id, bindData(opts || {})); + // layui.table.reloadData(table.id, bindData(opts || {})); } }).bind('row sort tool edit radio toolbar checkbox rowDouble', function (evt, call) { layui.table.on(evt.type + '(' + table.dataset.id + ')', call)