1、a-select 标签中加入以下属性
showSearch
:filterOption="filterOption"
2、添加方法
methods:{
filterOption(input, option) {
return (
option.componentOptions.children[0].text
.toLowerCase()
.indexOf(input.toLowerCase()) >= 0
)
}
