摘要: 第一步:创建一个layuiTest项目,结构如下 第二步:新建一个test.js,利用layui.define定义一个模块test,并向外暴露该模块,该模块里面有两个方法method1和method2. 第三步:新建一个test.html,在该页面引入layui.js,并通过layui.config 阅读全文
posted @ 2022-03-09 14:38 Bonnie_ξ 阅读(509) 评论(0) 推荐(0) 编辑