mirror of
https://gitee.com/layui/layui.git
synced 2025-04-04 23:39:34 +08:00
fix(layer): 空图片容器动态添加图片时,无法收集数据的问题 (#2581)
This commit is contained in:
parent
2f404fb6ed
commit
b2c1a6130b
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user