Update admin.js

This commit is contained in:
Anyon 2022-02-25 10:31:23 +08:00
parent 9d07605601
commit 209c9b8a1a

View File

@ -144,8 +144,8 @@ $(function () {
this.idx = [], this.mdx = []; this.idx = [], this.mdx = [];
this.shade = [0.02, '#000000']; this.shade = [0.02, '#000000'];
/*! 关闭消息框 */ /*! 关闭消息框 */
this.close = function (index) { this.close = function (idx) {
if (index !== null) return layer.close(index); if (idx !== null) return layer.close(idx);
for (var i in this.idx) that.close(this.idx[i]); for (var i in this.idx) that.close(this.idx[i]);
this.idx = []; this.idx = [];
}; };