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);