mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 10:07:07 +00:00
[improvement] make props less magic (#3775)
This commit is contained in:
@@ -7,7 +7,7 @@ export default createComponent({
|
||||
mixins: [ChildrenMixin('vanIndexBar', { indexKey: 'childrenIndex' })],
|
||||
|
||||
props: {
|
||||
index: [String, Number]
|
||||
index: [Number, String]
|
||||
},
|
||||
|
||||
data() {
|
||||
|
Reference in New Issue
Block a user