From 2cc9943392c65a846ee8c85a82d562d2db4ccf6a Mon Sep 17 00:00:00 2001 From: rex Date: Mon, 18 Mar 2019 19:41:26 +0800 Subject: [PATCH] [bugfix] Picker: defaultIndex not work --- packages/picker-column/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/picker-column/index.ts b/packages/picker-column/index.ts index 8407281f..ede4efca 100644 --- a/packages/picker-column/index.ts +++ b/packages/picker-column/index.ts @@ -30,7 +30,7 @@ VantComponent({ currentIndex: 0 }, - beforeCreate() { + created() { const { defaultIndex, initialOptions } = this.data; this.set({