遇到类似的问题,而是使用以下行(已转换为您的代码)。抱歉,我不记得在哪里找到它。
在您的代码中替换为:
jQuery("#content").append(el).masonry( 'appended', el, true );有了这个:
jQuery("#content").append(el).masonry( 'reload' );http://masonry.desandro.com/methods.html

遇到类似的问题,而是使用以下行(已转换为您的代码)。抱歉,我不记得在哪里找到它。
在您的代码中替换为:
jQuery("#content").append(el).masonry( 'appended', el, true );有了这个:
jQuery("#content").append(el).masonry( 'reload' );http://masonry.desandro.com/methods.html