mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update admin.js
This commit is contained in:
parent
71493594ae
commit
ba0511c6a9
@ -769,8 +769,8 @@ $(function () {
|
||||
$.msg.close(index);
|
||||
}, img.onload = function () {
|
||||
layer.open({
|
||||
type: 1, title: false, shadeClose: true, content: $(img), success: function (idx) {
|
||||
$.msg.close(index), (typeof done === 'function' && done(idx))
|
||||
type: 1, title: false, shadeClose: true, content: $(img), success: function ($ele, idx) {
|
||||
$.msg.close(index), (typeof done === 'function' && done($ele, idx))
|
||||
}, area: area || '480px', closeBtn: 1, skin: 'layui-layer-nobg', end: function () {
|
||||
document.body.removeChild(img), (typeof close === 'function' && close())
|
||||
}
|
||||
@ -882,4 +882,4 @@ $(function () {
|
||||
|
||||
/*! 系统菜单表单页面初始化 */
|
||||
$.menu.listen(), $.vali.listen(), $.form.reInit($body);
|
||||
});
|
||||
});
|
Loading…
x
Reference in New Issue
Block a user