diff --git a/components/table/demo/basic.md b/components/table/demo/basic.md
index 5a17dce833..13da7a466b 100644
--- a/components/table/demo/basic.md
+++ b/components/table/demo/basic.md
@@ -10,16 +10,16 @@
var Table = antd.Table;
var columns = [{
title: '姓名',
- dataIndex: 'name'
+ dataIndex: 'name',
+ render: function(text) {
+ return {text};
+ }
}, {
title: '年龄',
dataIndex: 'age'
}, {
title: '住址',
- dataIndex: 'address',
- render: function(text) {
- return {text};
- }
+ dataIndex: 'address'
}, {
title: '操作',
dataIndex: '',
diff --git a/components/table/demo/paging.md b/components/table/demo/paging.md
index 7311956e1c..cda1260a5d 100644
--- a/components/table/demo/paging.md
+++ b/components/table/demo/paging.md
@@ -11,16 +11,16 @@ var Table = antd.Table;
var columns = [{
title: '姓名',
- dataIndex: 'name'
+ dataIndex: 'name',
+ render: function(text) {
+ return {text};
+ }
}, {
title: '年龄',
dataIndex: 'age'
}, {
title: '住址',
- dataIndex: 'address',
- render: function(text) {
- return {text};
- }
+ dataIndex: 'address'
}];
var data = [];
diff --git a/components/table/demo/row-selection.md b/components/table/demo/row-selection.md
index ad5c5113a6..734112734b 100644
--- a/components/table/demo/row-selection.md
+++ b/components/table/demo/row-selection.md
@@ -10,16 +10,16 @@
var Table = antd.Table;
var columns = [{
title: '姓名',
- dataIndex: 'name'
+ dataIndex: 'name',
+ render: function(text) {
+ return {text};
+ }
}, {
title: '年龄',
dataIndex: 'age'
}, {
title: '住址',
- dataIndex: 'address',
- render: function(text) {
- return {text};
- }
+ dataIndex: 'address'
}];
var data = [{
name: '胡彦斌',