layui-js/examples/extends/mod1.js

12 lines
206 B
JavaScript
Raw Normal View History

2021-04-05 23:41:30 +08:00
/**
扩展模块且依赖 mod2
**/
layui.define('mod2', function(exports){
2019-05-31 14:36:29 +08:00
var $ = layui.jquery;
console.log(layui.mod2, layui.layer, layui.form)
exports('mod1', {
name: 'mod1'
})
});