发布新版

This commit is contained in:
贤心
2019-05-31 14:36:29 +08:00
parent 1ff124de94
commit 27e2295cbc
60 changed files with 2038 additions and 450 deletions

10
examples/extends/mod1.js Normal file
View File

@@ -0,0 +1,10 @@
layui.define(['mod2', 'layer'], function(exports){
var $ = layui.jquery;
console.log(layui.mod2, layui.layer, layui.form)
exports('mod1', {
name: 'mod1'
})
});

8
examples/extends/mod2.js Normal file
View File

@@ -0,0 +1,8 @@
layui.define(['jquery', 'form'], function(exports){
console.log(layui.$)
exports('mod2', {
name: 'mod2'
})
});