From 4817e116e5d8e6db0cdbd9c317c5e477ea746805 Mon Sep 17 00:00:00 2001 From: "qingwei.li" Date: Wed, 28 Dec 2016 18:11:25 +0800 Subject: [PATCH] Table: expand row feature only supports scoped slot. --- examples/docs/en-US/table.md | 16 ++++++++-------- examples/docs/zh-CN/table.md | 16 ++++++++-------- package.json | 2 +- packages/table/src/table-body.js | 2 +- packages/table/src/table-column.js | 17 ++++------------- test/unit/specs/table.spec.js | 6 ++++-- 6 files changed, 26 insertions(+), 33 deletions(-) diff --git a/examples/docs/en-US/table.md b/examples/docs/en-US/table.md index 7f7a4e5f6..36e808ef7 100644 --- a/examples/docs/en-US/table.md +++ b/examples/docs/en-US/table.md @@ -1349,19 +1349,19 @@ Customize table column so it can be integrated with other components. ### Expandable row When the row content is too long and you do not want to display the horizontal scroll bar, you can use the expandable row feature. -:::demo Activate expandable row by adding type="expand" and `inline-template` attribute,The template for `el-table-column` will be rendered as the contents of the expanded row, you can access the same attributes as the` inline-template`。 +:::demo Activate expandable row by adding type="expand" and `Scoped slot`, The template for `el-table-column` will be rendered as the contents of the expanded row, you can access the same attributes as the` Scoped slot`. ```html