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