[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
+2 -8
View File
@@ -25,8 +25,6 @@
<script>
import Icon from '../icon';
const NOTICE_BAR_MODE = ['', 'closeable', 'link'];
export default {
name: 'van-notice-bar',
@@ -36,14 +34,10 @@ export default {
props: {
text: String,
leftIcon: String,
mode: String,
color: String,
leftIcon: String,
background: String,
mode: {
type: String,
default: '',
validator: val => NOTICE_BAR_MODE.indexOf(val) !== -1
},
delay: {
type: [String, Number],
default: 1