From 583e23a43c80370ea6d19605697da0637f829eaa Mon Sep 17 00:00:00 2001 From: luffyzhao Date: Fri, 25 May 2018 13:57:09 +0800 Subject: [PATCH] 修复 'multiple' is assigned a value but never used no-unused-vars --- src/components/select/select.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/select/select.vue b/src/components/select/select.vue index 2792bc3..ed573b3 100644 --- a/src/components/select/select.vue +++ b/src/components/select/select.vue @@ -408,10 +408,10 @@ }; }, getInitialValue(){ - const {multiple, value} = this; + const {value} = this; let initialValue = Array.isArray(value) ? value : [value]; return initialValue.filter((item) => { - return Boolean(item) || item === 0 + return Boolean(item) || item === 0; }); }, processOption(option, values, isFocused){ -- libgit2 0.21.4