mirror of
https://github.com/youzan/vant.git
synced 2026-04-06 02:00:43 +08:00
[improvement] make props less magic (#3775)
This commit is contained in:
@@ -35,8 +35,11 @@ export default createComponent({
|
||||
className: String,
|
||||
itemHeight: Number,
|
||||
defaultIndex: Number,
|
||||
initialOptions: Array,
|
||||
visibleItemCount: Number
|
||||
visibleItemCount: Number,
|
||||
initialOptions: {
|
||||
type: Array,
|
||||
default: () => []
|
||||
}
|
||||
},
|
||||
|
||||
data() {
|
||||
|
||||
Reference in New Issue
Block a user