feat: cascader add search event

pull/2184/head
tanjinzhou 2020-04-30 16:15:05 +08:00
parent 0d84ed1534
commit ff07ecd3e7
1 changed files with 1 additions and 0 deletions

View File

@ -260,6 +260,7 @@ const Cascader = {
handleInputChange(e) {
const inputValue = e.target.value;
this.setState({ inputValue });
this.$emit('search', inputValue);
},
setValue(value, selectedOptions) {