From 15368be1723ee42255794524c1adee5b3cfd2c32 Mon Sep 17 00:00:00 2001 From: 梁灏 Date: Thu, 2 Mar 2017 12:05:57 +0800 Subject: [PATCH] Support Badge --- CHANGE.md | 4 +++- README.md | 2 +- src/components/badge/badge.vue | 10 +++++----- src/index.js | 4 ++-- test/app.vue | 1 + test/main.js | 4 ++++ test/routers/badge.vue | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 66 insertions(+), 9 deletions(-) create mode 100644 test/routers/badge.vue diff --git a/CHANGE.md b/CHANGE.md index d572e08..8587fc8 100644 --- a/CHANGE.md +++ b/CHANGE.md @@ -9,4 +9,6 @@ value 改为了 label,使用 v-model,废弃 checked ### CheckboxGroup value 改为了 label,使用 v-model,废弃 checked ### Switch -废弃checked, 改为了 value,使用 v-model \ No newline at end of file +废弃checked, 改为了 value,使用 v-model +### Badge +class 改为了 className \ No newline at end of file diff --git a/README.md b/README.md index 2944047..e091219 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ - [ ] Notice - [ ] Modal - [ ] Progress -- [ ] Badge +- [x] Badge - [ ] Collapse - [x] Timeline - [ ] Tag diff --git a/src/components/badge/badge.vue b/src/components/badge/badge.vue index d80120e..9581302 100644 --- a/src/components/badge/badge.vue +++ b/src/components/badge/badge.vue @@ -1,9 +1,9 @@