From 51d7432ba442c3e2c4469231595b6fc580056eba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Fri, 5 Aug 2022 16:48:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=9B=BE=E7=89=87=E5=8A=A0?= =?UTF-8?q?=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 4c219e09c..741fe1e6a 100644 --- a/public/static/admin.js +++ b/public/static/admin.js @@ -1058,7 +1058,7 @@ $(function () { event.items.push({src: this.dataset.tipsImage || this.dataset.lazySrc || this.src}); }) && layer.photos({ anim: 5, closeBtn: 1, photos: {start: event.$imgs.index(this), data: event.items}, tab: function (pic, $ele) { - $ele.find('img').attr('referrer-policy', 'no-referrer'); + $ele.find('img').attr('referrerpolicy', 'no-referrer'); $ele.find('.layui-layer-close').css({top: '20px', right: '20px', position: 'fixed'}); } });