[bugfix] Picker: defaultIndex not work

This commit is contained in:
rex 2019-03-18 19:41:26 +08:00 committed by GitHub
parent 988d1f5ad2
commit 2cc9943392
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,7 @@ VantComponent({
currentIndex: 0
},
beforeCreate() {
created() {
const { defaultIndex, initialOptions } = this.data;
this.set({