mirror of
https://gitee.com/layui/layui.git
synced 2025-12-19 10:29:54 +08:00
update
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
/**
|
||||
扩展模块,只依赖内置模块
|
||||
**/
|
||||
|
||||
layui.define(['jquery', 'form'], function(exports){
|
||||
console.log(layui.$)
|
||||
layui.define(function(exports){
|
||||
console.log('mod2.js')
|
||||
|
||||
layer.alert(1)
|
||||
|
||||
exports('mod2', {
|
||||
name: 'mod2'
|
||||
|
||||
Reference in New Issue
Block a user