[bugfix] remove unnecessary props (#323)

* fix: Tabbar icon line-height

* [new feature] progress add showPivot prop

* [new feature] TabItem support vue-router

* [new feature] update document header style

* [Doc] add toast english ducoment

* [bugfix] Search box-sizing wrong

* [Doc] update vant-demo respo

* [Doc] translate theme & demo pages

* [Doc] add Internationalization document

* [bugfix] remove unnecessary props
This commit is contained in:
neverland
2017-11-16 03:12:13 -06:00
committed by GitHub
parent 5cbc374208
commit ffa3fddfae
42 changed files with 116 additions and 306 deletions

View File

@@ -10,17 +10,9 @@ export default {
name: 'van-badge',
props: {
title: {
type: String,
required: true
},
url: {
type: String,
default: 'javascript:;'
},
info: {
type: String
}
url: String,
info: String,
title: String
},
beforeCreate() {
@@ -29,8 +21,7 @@ export default {
computed: {
isSelect() {
const parent = this.$parent;
return parent.badges.indexOf(this) === parent.activeKey;
return this.$parent.badges.indexOf(this) === this.$parent.activeKey;
}
},