并 并
layui.use(['popup'], function() { var popup = layui.popup; popup.success("成功消息") popup.failure("失败消息") popup.warning("警告消息") })
layui.use(['popup'], function() { var popup = layui.popup; popup.success("成功消息",callback) popup.failure("失败消息",callback) popup.warning("警告消息",callback) })