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: '
{{= d.experience }} 分
'}, {field:'logins', title:'登入次数', width:100, sort: true, totalRow: true},