动态添加的面板不生效

1 layui.element.render('collapse');

执行下元素刷新

原文地址:https://www.cnblogs.com/yangguoe/p/9071232.html