From 30e99a37684d437c423e64556ab8e38413abc1a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Mon, 9 May 2022 14:59:09 +0800 Subject: [PATCH] Update admin.js --- public/static/admin.js | 1 + 1 file changed, 1 insertion(+) diff --git a/public/static/admin.js b/public/static/admin.js index b5a2ba876..1fe3ea955 100644 --- a/public/static/admin.js +++ b/public/static/admin.js @@ -1034,6 +1034,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('.layui-layer-close').css({top: '20px', right: '20px', position: 'fixed'}); } });