From 8a392d25fc5e603db876fd1fc8afbf48ab6b7409 Mon Sep 17 00:00:00 2001 From: 梁灏 Date: Sun, 3 Sep 2017 11:40:48 +0800 Subject: [PATCH] Table expand support set column header, and close #1299 --- examples/components/test.vue | 51 +++++++++++++++++++++++++++++++++++---------------- examples/routers/table.vue | 172 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------------------------------------------------------------------------ src/components/table/table-head.vue | 5 ++++- 3 files changed, 97 insertions(+), 131 deletions(-) diff --git a/examples/components/test.vue b/examples/components/test.vue index 6451c2a..e3a42ba 100644 --- a/examples/components/test.vue +++ b/examples/components/test.vue @@ -1,20 +1,39 @@ + props: { + row: Object + } + }; + \ No newline at end of file diff --git a/examples/routers/table.vue b/examples/routers/table.vue index 376858f..c48347b 100644 --- a/examples/routers/table.vue +++ b/examples/routers/table.vue @@ -1,144 +1,88 @@ \ No newline at end of file diff --git a/src/components/table/table-head.vue b/src/components/table/table-head.vue index 45c5adc..efa5a8d 100644 --- a/src/components/table/table-head.vue +++ b/src/components/table/table-head.vue @@ -7,7 +7,10 @@
- +