【dict】封装字典下拉框组件

pull/65/head
chenjinlong 4 years ago
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…
Cancel
Save