put right
This commit is contained in:
parent
eefa3a5ae3
commit
c04b6b24f0
@ -101,11 +101,13 @@ layui.config({
|
|||||||
项目JS主入口
|
项目JS主入口
|
||||||
以依赖Layui的layer和form模块为例
|
以依赖Layui的layer和form模块为例
|
||||||
**/
|
**/
|
||||||
layui.define(['layer', 'form'], function(){
|
layui.define(['layer', 'form'], function(exports){
|
||||||
var layer = layui.layer
|
var layer = layui.layer
|
||||||
,form = layui.form();
|
,form = layui.form();
|
||||||
|
|
||||||
layer.msg('Hello World');
|
layer.msg('Hello World');
|
||||||
|
|
||||||
|
exports(index, {});
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user