From af58394bf9bfc14edd3764065d6e3af2d3946d78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B4=A4=E5=BF=83?= <3277200+sentsim@users.noreply.github.com> Date: Wed, 29 Mar 2023 12:14:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=20layer=20=E7=9A=84=20photos?= =?UTF-8?q?=20=E5=B1=82=E5=AF=B9=20`lay-src`=20=E5=B1=9E=E6=80=A7=E7=9A=84?= =?UTF-8?q?=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/layer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/layer.js b/src/modules/layer.js index 86187da9..e73584e4 100644 --- a/src/modules/layer.js +++ b/src/modules/layer.js @@ -1351,7 +1351,7 @@ layer.photos = function(options, loop, key){ data.push({ alt: othis.attr('alt'), pid: othis.attr('layer-pid'), - src: othis.attr('layer-src') || othis.attr('src'), + src: othis.attr('lay-src') || othis.attr('layer-src') || othis.attr('src'), thumb: othis.attr('src') }); });