mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-05 19:41:44 +08:00
Update admin.js
This commit is contained in:
parent
9d07605601
commit
209c9b8a1a
@ -144,8 +144,8 @@ $(function () {
|
||||
this.idx = [], this.mdx = [];
|
||||
this.shade = [0.02, '#000000'];
|
||||
/*! 关闭消息框 */
|
||||
this.close = function (index) {
|
||||
if (index !== null) return layer.close(index);
|
||||
this.close = function (idx) {
|
||||
if (idx !== null) return layer.close(idx);
|
||||
for (var i in this.idx) that.close(this.idx[i]);
|
||||
this.idx = [];
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user