mirror of https://gitee.com/stylefeng/guns
parent
dc7b93e9b1
commit
94d179557c
@ -1,7 +1,10 @@
|
||||
|
||||
1.添加html标签
|
||||
<div id="demo1" class="xm-select-demo"></div>
|
||||
|
||||
2.引入layui 模块组件'dict'
|
||||
layui.use(['dict'], function () {
|
||||
|
||||
3.渲染组件
|
||||
dict.render({
|
||||
elem: '#demo2', //控件
|
||||
code: '' //字典dictTypeCode
|
||||
|
Loading…
Reference in new issue