Uncaught TypeError: l.push is not a function

layui.use([ 'jquery', 'layer', 'element' ], function() {
}

而不是

layui.use( 'jquery', 'layer', 'element' , function() {
原文地址:https://www.cnblogs.com/hanlei525/p/9613013.html