From b41521e23089f7f8707771d4ca6206816866962a Mon Sep 17 00:00:00 2001 From: augushong Date: Fri, 14 Oct 2022 10:38:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Ddata-reuqest=E7=9A=84?= =?UTF-8?q?=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/static/plugs/easy-admin/easy-admin.js | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/public/static/plugs/easy-admin/easy-admin.js b/public/static/plugs/easy-admin/easy-admin.js index 118fde1..63966ef 100644 --- a/public/static/plugs/easy-admin/easy-admin.js +++ b/public/static/plugs/easy-admin/easy-admin.js @@ -1718,12 +1718,14 @@ define(["jquery", "tableSelect", "ckeditor", 'miniTheme', 'tableData', 'citypick url: url, data: postData, }, function (res) { - if (endMethod == 'reload-table') { - tableId = tableId || init.table_render_id; - table.reload(tableId); - } else if (endMethod == 'refresh-page') { - location.reload(); - } + admin.msg.success(res.msg, function () { + if (endMethod == 'reload-table') { + tableId = tableId || init.table_render_id; + table.reload(tableId); + } else if (endMethod == 'refresh-page') { + location.reload(); + } + }); }) }); return false;