mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-05 23:46:28 +08:00
docs: Table - ajax - English Translation (#3270)
This commit is contained in:
parent
8128a94b71
commit
c2fb8f30a1
@ -24,13 +24,13 @@ import { Table } from 'antd';
|
||||
import reqwest from 'reqwest';
|
||||
|
||||
const columns = [{
|
||||
title: '姓名',
|
||||
title: 'Name',
|
||||
dataIndex: 'name',
|
||||
sorter: true,
|
||||
render: name => `${name.first} ${name.last}`,
|
||||
width: '20%',
|
||||
}, {
|
||||
title: '性别',
|
||||
title: 'Gender',
|
||||
dataIndex: 'gender',
|
||||
filters: [
|
||||
{ text: 'Male', value: 'male' },
|
||||
@ -38,7 +38,7 @@ const columns = [{
|
||||
],
|
||||
width: '20%',
|
||||
}, {
|
||||
title: '邮箱',
|
||||
title: 'Email',
|
||||
dataIndex: 'email',
|
||||
}];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user