From 99d0429e276f6371d22bcc8279c4fb4a9708218b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=81=E7=81=8F?= Date: Wed, 15 Mar 2017 15:27:04 +0800 Subject: [PATCH] update Button & Table Cell MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Button add custom event @click,you can use @click in i-button now; Table Cell support data from content --- examples/routers/table.vue | 199 ++++++--------------- examples/routers/upload.vue | 288 +++++++++++++++++-------------- src/components/button/button.vue | 9 +- src/components/table/cell.vue | 24 ++- 4 files changed, 231 insertions(+), 289 deletions(-) diff --git a/examples/routers/table.vue b/examples/routers/table.vue index 3eac9b52..0926ece9 100644 --- a/examples/routers/table.vue +++ b/examples/routers/table.vue @@ -1,169 +1,82 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/routers/upload.vue b/examples/routers/upload.vue index 62c97c15..faa897d7 100644 --- a/examples/routers/upload.vue +++ b/examples/routers/upload.vue @@ -1,147 +1,175 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - diff --git a/src/components/button/button.vue b/src/components/button/button.vue index e3c4623d..6f8d4434 100644 --- a/src/components/button/button.vue +++ b/src/components/button/button.vue @@ -1,5 +1,5 @@