Skip to content

Commit 9e12384

Browse files
committed
优化示例
1 parent c8e29c8 commit 9e12384

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

examples/src/docs/en/ve-table/cell-custom/body-cell.md

+1-4
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@
1515
{
1616
field: "",
1717
key: "a",
18-
title: "Row Number",
19-
width: 200,
18+
title: "#",
2019
align: "center",
2120
renderBodyCell: ({ row, column, rowIndex }, h) => {
2221
return (
@@ -30,14 +29,12 @@
3029
field: "date",
3130
key: "b",
3231
title: "Date",
33-
width: 200,
3432
align: "center",
3533
},
3634
{
3735
field: "hobby",
3836
key: "c",
3937
title: "Hobby",
40-
width: 300,
4138
align: "left",
4239
renderBodyCell: ({ row, column, rowIndex }, h) => {
4340
const text = row[column.field];

examples/src/docs/zh/ve-table/cell-custom/body-cell.md

+1-4
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@
1515
{
1616
field: "",
1717
key: "a",
18-
title: "Row Number",
19-
width: 200,
18+
title: "#",
2019
align: "center",
2120
renderBodyCell: ({ row, column, rowIndex }, h) => {
2221
return (
@@ -30,14 +29,12 @@
3029
field: "date",
3130
key: "b",
3231
title: "Date",
33-
width: 200,
3432
align: "center",
3533
},
3634
{
3735
field: "hobby",
3836
key: "c",
3937
title: "Hobby",
40-
width: 300,
4138
align: "left",
4239
renderBodyCell: ({ row, column, rowIndex }, h) => {
4340
const text = row[column.field];

0 commit comments

Comments
 (0)