From cf42b5444e7c80f36631fdf691075e727a5ecb45 Mon Sep 17 00:00:00 2001 From: hetech Date: Fri, 26 Oct 2018 11:59:02 +0800 Subject: [PATCH] Table: update Chinese doc (#13177) --- examples/docs/zh-CN/table.md | 41 +++++++++++++++--------------- packages/table/src/table-column.js | 4 +-- 2 files changed, 23 insertions(+), 22 deletions(-) diff --git a/examples/docs/zh-CN/table.md b/examples/docs/zh-CN/table.md index a66ac2ca..41f31eea 100644 --- a/examples/docs/zh-CN/table.md +++ b/examples/docs/zh-CN/table.md @@ -227,20 +227,20 @@ }], tableData7: [{ date: '2016-05-02', - name: 'Tom', - address: 'No. 189, Grove St, Los Angeles', + name: '王小虎', + address: '上海市普陀区金沙江路 1518 弄' }, { date: '2016-05-04', - name: 'John', - address: 'No. 189, Grove St, Los Angeles', + name: '王小虎', + address: '上海市普陀区金沙江路 1517 弄' }, { date: '2016-05-01', - name: 'Morgan', - address: 'No. 189, Grove St, Los Angeles', + name: '王小虎', + address: '上海市普陀区金沙江路 1519 弄' }, { date: '2016-05-03', - name: 'Jessy', - address: 'No. 189, Grove St, Los Angeles', + name: '王小虎', + address: '上海市普陀区金沙江路 1516 弄' }], currentRow: null, multipleSelection: [], @@ -1666,10 +1666,11 @@ ``` ::: -### Table with custom header +### 自定义表头 -Customize table header so it can be even more customized. -:::demo You can customize how the header looks by [Default slot content](https://vuejs.org/v2/guide/components-slots.html#Default-Slot-Content). +表头支持自定义。 + +:::demo 通过设置 [Scoped slot](https://cn.vuejs.org/v2/guide/components-slots.html#%E4%BD%9C%E7%94%A8%E5%9F%9F%E6%8F%92%E6%A7%BD) 来自定义表头。 ```html