From 01cf9117c09fe7120a1cb4259532e8ebf4becdb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B4=A4=E5=BF=83?= <3277200+sentsim@users.noreply.github.com> Date: Thu, 4 May 2023 10:04:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20table=20=E7=A4=BA=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/table.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/table.html b/examples/table.html index 5baa2fe4..4173be98 100644 --- a/examples/table.html +++ b/examples/table.html @@ -7,6 +7,7 @@ @@ -157,14 +158,14 @@ layui.use('table', function(){ elem: '#test' ,url: 'json/table/demo1.json' //,contentType: 'application/json' // 参数为 json 格式传递 - ,page: !0 || { //详细参数可参考 laypage 组件文档 + ,page: !1 ? false : { // 详细参数可参考 laypage 组件文档 curr: 5 ,groups: 1 ,first: false ,last: false ,layout: ['limit', 'prev', 'page', 'next', 'count'] //自定义分页布局 } - //,height: 300 + ,height: 300 ,cellMinWidth: 80 //,skin: 'line' //,size: 'lg'