From be2c3198312d592cfc0a1c6744e49a51e0a76063 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=81=E7=81=8F?= Date: Thu, 28 Jun 2018 14:13:31 +0800 Subject: [PATCH] Select support global setting --- src/components/select/select.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/select/select.vue b/src/components/select/select.vue index 269723eb..e9a77150 100644 --- a/src/components/select/select.vue +++ b/src/components/select/select.vue @@ -187,6 +187,9 @@ size: { validator (value) { return oneOf(value, ['small', 'large', 'default']); + }, + default () { + return this.$IVIEW.size === '' ? 'default' : this.$IVIEW.size; } }, labelInValue: {