From 643f72a8247a9dc8c942dca619b9de731274b37f Mon Sep 17 00:00:00 2001 From: vvpvvp Date: Wed, 4 Jul 2018 09:55:11 +0800 Subject: [PATCH] fix(select): remove showSearchPlaceHolder params --- src/components/select/select.vue | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/components/select/select.vue b/src/components/select/select.vue index ad1f50ee6..b4273cc9f 100644 --- a/src/components/select/select.vue +++ b/src/components/select/select.vue @@ -12,7 +12,7 @@ @keyup="handle" @blur="blurHandle" @keypress.enter="enterHandle" - :placeholder="showSearchPlaceHolder" /> + :placeholder="showPlaceholder" />
{{showPlaceholder}}
@@ -23,7 +23,7 @@ @blur="blurHandle" @keypress.enter="enterHandle" class="h-select-search-input h-select-single-search-input" v-model="searchInput" - :placeholder="hasValue?'':showSearchPlaceHolder" /> + :placeholder="hasValue?'':showPlaceholder" />
{{objects[title]}}
{{showPlaceholder}}
@@ -99,9 +99,9 @@ export default { placeholder: { type: String, }, - searchPlaceHolder: { - type: String, - }, + // searchPlaceHolder: { + // type: String, + // }, emptyContent: { type: String, }, @@ -355,9 +355,9 @@ export default { showPlaceholder() { return this.placeholder || this.t('h.select.placeholder'); }, - showSearchPlaceHolder() { - return this.searchPlaceHolder || this.t('h.select.searchPlaceHolder'); - }, + // showSearchPlaceHolder() { + // return this.searchPlaceHolder || this.t('h.select.searchPlaceHolder'); + // }, selectCls() { let autosize = this.autosize || !!this.noBorder; return {