[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user