layui-js/examples/extends/mod2.js

11 lines
151 B
JavaScript
Raw Normal View History

2021-04-05 23:41:30 +08:00
/**
扩展模块只依赖内置模块
**/
2019-05-31 14:36:29 +08:00
2021-04-05 23:41:30 +08:00
layui.define(function(exports){
console.log('mod2.js')
2021-04-06 16:01:23 +08:00
2019-05-31 14:36:29 +08:00
exports('mod2', {
name: 'mod2'
})
});