1.在元素上加ref,点击方法里 用this.$refs.xxx.dropDownVisible = false,这样就收起了。
<el-cascader
ref="xxx"
:options="options"
:props="{ checkStrictly: true }"
clearable
@change="c">
</el-cascader>
methods:{
c(v){
console.log(v)
this.refs.xxx.dropDownVisible = false;
}
}