1、在el-popover中添加属性
ref="popoverSH"
2.在你的事件需要它显示/隐藏的地方使用
click(){
//点击影藏
this.$refs.popoverSH.doClose()
//点击显示
this.$refs.popoverSH.doShow()
}
1、在el-popover中添加属性
ref="popoverSH"
2.在你的事件需要它显示/隐藏的地方使用
click(){
//点击影藏
this.$refs.popoverSH.doClose()
//点击显示
this.$refs.popoverSH.doShow()
}