[improvement] Badge: add change event (#2017)

This commit is contained in:
neverland
2018-11-02 14:19:39 +08:00
committed by GitHub
parent 42f985cd7b
commit fc8937aa26
8 changed files with 92 additions and 27 deletions

View File

@@ -17,6 +17,12 @@ export default create({
}
},
provide() {
return {
vanBadgeGroup: this
};
},
data() {
return {
badges: []