优化 layer 的 photos 层对 `lay-src` 属性的支持

pull/1220/head
贤心 2023-03-29 12:14:15 +08:00
parent aad6bca9df
commit af58394bf9
1 changed files with 1 additions and 1 deletions

View File

@ -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')
});
});