From 3bd68e8cda15f9126dde2d8ab853ad1eb9866ef7 Mon Sep 17 00:00:00 2001 From: dolymood Date: Tue, 28 Nov 2017 19:57:40 +0800 Subject: [PATCH] fix picker logic: don't need to destroy BetterScroll instance --- src/components/picker/picker.vue | 1 - 1 file changed, 1 deletion(-) diff --git a/src/components/picker/picker.vue b/src/components/picker/picker.vue index 81276713..ba46f7e1 100644 --- a/src/components/picker/picker.vue +++ b/src/components/picker/picker.vue @@ -185,7 +185,6 @@ } } this.pickerSelectedIndex[index] = dist - wheel.destroy() this.$nextTick(() => { // recreate wheel so that the wrapperHeight will be correct. wheel = this._createWheel(wheelWrapper, index) -- GitLab