From b2c1a6130b0251cca08fca3574a96be8936d46c1 Mon Sep 17 00:00:00 2001 From: morning-star <26325820+Sight-wcg@users.noreply.github.com> Date: Fri, 28 Mar 2025 17:15:24 +0800 Subject: [PATCH] =?UTF-8?q?fix(layer):=20=E7=A9=BA=E5=9B=BE=E7=89=87?= =?UTF-8?q?=E5=AE=B9=E5=99=A8=E5=8A=A8=E6=80=81=E6=B7=BB=E5=8A=A0=E5=9B=BE?= =?UTF-8?q?=E7=89=87=E6=97=B6=EF=BC=8C=E6=97=A0=E6=B3=95=E6=94=B6=E9=9B=86?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E7=9A=84=E9=97=AE=E9=A2=98=20(#2581)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/layer.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/modules/layer.js b/src/modules/layer.js index 1717eaa1..d40fb431 100644 --- a/src/modules/layer.js +++ b/src/modules/layer.js @@ -1554,8 +1554,6 @@ layer.photos = function(options, loop, key){ pushData(); - if (data.length === 0) return; - loop || parent.on('click', options.img, function(){ pushData(); var othis = $(this), index = othis.attr('layer-index');