From 4e91404c10b9ad21c7351a4c4470e2a688ab8047 Mon Sep 17 00:00:00 2001 From: saynone <5660782@qq.com> Date: Sun, 9 Jun 2019 15:56:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=8D=95=E5=85=83=E6=A0=BC?= =?UTF-8?q?=E5=9B=BE=E7=89=87=E9=A2=84=E8=A7=88=E6=97=B6=EF=BC=8C=E5=9B=BE?= =?UTF-8?q?=E7=89=87=E5=BA=8F=E5=8F=B7=E9=94=99=E8=AF=AF=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/assets/js/require-table.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/assets/js/require-table.js b/public/assets/js/require-table.js index ecd310af6..a3431c7ef 100644 --- a/public/assets/js/require-table.js +++ b/public/assets/js/require-table.js @@ -409,7 +409,7 @@ define(['jquery', 'bootstrap', 'moment', 'moment/locale/zh-cn', 'bootstrap-table }); Layer.photos({ photos: { - "start":$(this).index(".img-center"), + "start":$(this).parent('a').parent('td').find(".img-center").index(e.currentTarget), "data": data }, anim: 5 //0-6的选择,指定弹出图片动画类型,默认随机(请注意,3.0之前的版本用shift参数) -- Gitee