<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
