From 1acabf7912bcec067425a9236b09becf6704d175 Mon Sep 17 00:00:00 2001 From: 梁灏 Date: Fri, 23 Mar 2018 15:32:58 +0800 Subject: [PATCH] Table support multiple table-head --- examples/routers/table.vue | 314 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- src/components/table/table-head.vue | 31 ++++++++++++++++++++++++++++--- src/components/table/table.vue | 45 ++++++++++++++++++++------------------------- src/components/table/util.js | 81 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/styles/components/table.less | 4 ++-- 5 files changed, 226 insertions(+), 249 deletions(-) create mode 100644 src/components/table/util.js diff --git a/examples/routers/table.vue b/examples/routers/table.vue index cc5cce7..b8a131a 100644 --- a/examples/routers/table.vue +++ b/examples/routers/table.vue @@ -1,67 +1,92 @@ \ No newline at end of file diff --git a/src/components/table/table-head.vue b/src/components/table/table-head.vue index a401659..ba89c00 100644 --- a/src/components/table/table-head.vue +++ b/src/components/table/table-head.vue @@ -4,8 +4,12 @@ - - + +