mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
[bugfix] Picker: defaultIndex not work
This commit is contained in:
parent
988d1f5ad2
commit
2cc9943392
@ -30,7 +30,7 @@ VantComponent({
|
||||
currentIndex: 0
|
||||
},
|
||||
|
||||
beforeCreate() {
|
||||
created() {
|
||||
const { defaultIndex, initialOptions } = this.data;
|
||||
|
||||
this.set({
|
||||
|
Loading…
x
Reference in New Issue
Block a user