From 416b2af2374c29b312175a5c7ab675fb8362f736 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Fri, 17 Sep 2021 10:46:39 +0800 Subject: [PATCH] Update admin.js --- public/static/admin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/static/admin.js b/public/static/admin.js index f3491534b..088748a6d 100644 --- a/public/static/admin.js +++ b/public/static/admin.js @@ -1005,7 +1005,7 @@ $(function () { var img = new Image(), that = this, layidx; img.referrerPolicy = 'no-referrer', img.style.maxWidth = '260px', img.style.maxHeight = '260px'; img.src = this.dataset.tipsImage || this.dataset.lazySrc || this.src, img.onload = function () { - layidx = layer.tips(img.outerHTML, that, {time: 0, skin: 'layui-layer-image', anim: 5, scrollbar: false}); + layidx = layer.tips(img.outerHTML, that, {time: 0, skin: 'layui-layer-image', anim: 5, isOutAnim: false, scrollbar: false}); $(that).off('mouseleave').on('mouseleave', function () { layui.layer.close(layidx); });