update Cascader

This commit is contained in:
梁灏 2017-05-10 09:18:54 +08:00
parent 0ce5e00df8
commit 5a9a12cd1c
2 changed files with 54 additions and 3 deletions

View file

@ -3,7 +3,7 @@
<div :class="[prefixCls + '-rel']" @click="toggleOpen">
<slot>
<i-input
readonly
:readonly="!filterable"
:disabled="disabled"
v-model="displayRender"
:size="size"
@ -91,6 +91,10 @@
},
loadData: {
type: Function
},
filterable: {
type: Boolean,
default: false
}
},
data () {