const { proxy } = getCurrentInstance() as any
在级联选择器@change方法中,监听变化,首先添加一个ref=“cascaderHandle”,在@change绑定的方法中监听: proxy.$refs.myCascader.dropDownVisible = false;
Element plus 好像取消了 改为 proxy.$refs.myCascader.popperVisible = false
可以实现
const { proxy } = getCurrentInstance() as any
在级联选择器@change方法中,监听变化,首先添加一个ref=“cascaderHandle”,在@change绑定的方法中监听: proxy.$refs.myCascader.dropDownVisible = false;
Element plus 好像取消了 改为 proxy.$refs.myCascader.popperVisible = false
可以实现