layui-js/examples/extends/mod1.js
2021-04-05 23:41:30 +08:00

12 lines
206 B
JavaScript

/**
扩展模块,且依赖 mod2
**/
layui.define('mod2', function(exports){
var $ = layui.jquery;
console.log(layui.mod2, layui.layer, layui.form)
exports('mod1', {
name: 'mod1'
})
});