更新 treeTable 用例

pull/1368/head
贤心 1 year ago
parent f15fd618f8
commit f00403e2a9

@ -13,6 +13,12 @@
<table class="layui-hide" id="test"></table>
<script type="text/html" id="TPL-treeTable-demo">
<div class="layui-btn-container">
<button class="layui-btn layui-btn-sm" lay-event="getChecked">获取选中数据</button>
</div>
</script>
<script src="../src/layui.js"></script>
<script>
layui.use(['treeTable'], function(){
@ -23,6 +29,7 @@ layui.use(['treeTable'], function(){
elem: '#test',
url: './json/treeTable/demo-1.json',
maxHeight: 'full-32',
toolbar: '#TPL-treeTable-demo',
tree: {
customName: {
name: 'name'

Loading…
Cancel
Save