From aab835e269f81928ba51ac87e8f613f88f48b14b Mon Sep 17 00:00:00 2001 From: Anyon Date: Wed, 17 Jun 2020 14:17:06 +0800 Subject: [PATCH] Update admin.js --- public/static/admin.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/public/static/admin.js b/public/static/admin.js index f0c1560dd..42be81dc7 100644 --- a/public/static/admin.js +++ b/public/static/admin.js @@ -61,9 +61,7 @@ $(function () { window.$body = $('body'); /*! 消息组件实例 */ $.msg = new function (that) { - that = this; - this.idx = []; - this.shade = [0.02, '#000']; + that = this, this.idx = [], this.shade = [0.02, '#000']; // 关闭消息框 this.close = function (index) { return layer.close(index);