put right

This commit is contained in:
sentsin 2016-10-15 11:34:03 +08:00
parent eefa3a5ae3
commit c04b6b24f0

View File

@ -101,11 +101,13 @@ layui.config({
项目JS主入口
以依赖Layui的layer和form模块为例
**/
layui.define(['layer', 'form'], function(){
layui.define(['layer', 'form'], function(exports){
var layer = layui.layer
,form = layui.form();
layer.msg('Hello World');
exports(index, {});
});
```