This commit is contained in:
梁灏 2017-09-22 15:29:50 +08:00
parent ca13135480
commit acb79ba30e
8 changed files with 97 additions and 11 deletions

View file

@ -13,6 +13,7 @@
<span :class="[prefixCls + '-placeholder']" v-show="showPlaceholder && !filterable">{{ localePlaceholder }}</span>
<span :class="[prefixCls + '-selected-value']" v-show="!showPlaceholder && !multiple && !filterable">{{ selectedSingle }}</span>
<input
:id="elementId"
type="text"
v-if="filterable"
v-model="query"
@ -135,6 +136,9 @@
},
name: {
type: String
},
elementId: {
type: String
}
},
data () {