el-popover 点击取消按钮,弹窗仍然无法关闭


<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


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM