<el-popover
placement="bottom"
width="200"
:ref="aa"
:visible.sync="reviewVisible"
>
<div style="text-align: right; margin-top: 20px">
<el-button size="mini" type="text" @click="handleCloseReview(scope)">取消</el-button>
<el-button type="primary" size="mini" @click="handleAdd">确定</el-button>
</div>
</el-popover>
handleCloseReview(scope) {
//这样才可以关闭调<el-popover>
this.$refs.aa.doClose()
},//之前我通过控制reviewVisible,我发现是关闭的;
参考地址: https://blog.csdn.net/weixin_42224055/article/details/108464884
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。