From 5f4a64bbdbbe2341c58bb79aa00052f1c262ad14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B4=A4=E5=BF=83?= <3277200+sentsim@users.noreply.github.com> Date: Mon, 13 May 2024 17:49:21 +0800 Subject: [PATCH] =?UTF-8?q?docs(table):=20=E6=9B=B4=E6=AD=A3=E7=A4=BA?= =?UTF-8?q?=E4=BE=8B=E7=9A=84=E5=90=88=E8=AE=A1=E8=A1=8C=E6=A8=A1=E6=9D=BF?= =?UTF-8?q?=E9=80=89=E9=A1=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/table/examples/demo.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/table/examples/demo.md b/docs/table/examples/demo.md index 0ab6df15..0de8b3a6 100644 --- a/docs/table/examples/demo.md +++ b/docs/table/examples/demo.md @@ -71,7 +71,7 @@ layui.use(['table', 'dropdown'], function(){ page: true, cols: [[ {type: 'checkbox', fixed: 'left'}, - {field:'id', fixed: 'left', width:80, title: 'ID', sort: true, totalRowText: '合计:'}, + {field:'id', fixed: 'left', width:80, title: 'ID', sort: true, totalRow: '合计:'}, {field:'username', width:80, title: '用户'}, {field:'email', title:'邮箱 ', fieldTitle: '邮箱', hide: 0, width:150, expandedMode: 'tips', edit: 'text'}, {field:'sex', width:80, title: '性别', sort: true}, @@ -161,7 +161,7 @@ layui.use(['table', 'dropdown'], function(){ /*{{! cols: [[ // 重置表头 {type: 'checkbox', fixed: 'left'}, - {field:'id', title:'ID', width:80, fixed: 'left', unresize: true, sort: true, totalRowText: '合计:'}, + {field:'id', title:'ID', width:80, fixed: 'left', unresize: true, sort: true, totalRow: '合计:'}, {field:'sex', title:'性别', width:80, edit: 'text', sort: true}, {field:'experience', title:'积分', width:80, sort: true, totalRow: true, templet: '