From dec53f9ca9b07c3d9ce31ddaf6553b7c98c22389 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Thu, 13 May 2021 15:58:51 +0800 Subject: [PATCH] Update admin.js --- public/static/admin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/static/admin.js b/public/static/admin.js index 601f28190..3b145ef4c 100644 --- a/public/static/admin.js +++ b/public/static/admin.js @@ -830,7 +830,7 @@ $(function () { $.msg.tips('请求地址不能为空!'); } else (function (confirm, callback) { confirm ? $.msg.confirm(confirm, callback) : callback(); - })(this.dataset.confirm, function () { + })(e.target.dataset.confirm, function () { $.form.load(e.target.dataset.queue, {}, 'post', function (ret) { if (typeof ret.data === 'string' && ret.data.indexOf('Q') === 0) { return $.loadQueue(ret.data, true), false;