更新 table 示例

This commit is contained in:
贤心 2023-02-13 13:05:47 +08:00
parent edad983efa
commit 51842182e8
2 changed files with 2 additions and 1 deletions

View File

@ -135,6 +135,7 @@ layui.use(['table', 'dropdown'], function(){
//,size: 'sm'
//,skin: 'line'
//,even: true
//,loading: false
,totalRow: true

View File

@ -28,7 +28,7 @@
<table id="test-json"></table>
<div style="display: none1;">
<table class="layui-table" lay-data="{width:800, height: 300, url:'json/table/demo2.json', page: true, limit: 6, toolbar: true}">
<table class="layui-table" lay-data="{width:800, height: 300, url:'json/table/demo2.json', page: true, even: true, limit: 6, toolbar: true}">
<thead>
<tr>
<th lay-data="{checkbox:true, fixed:'left'}" rowspan="2"></th>