element-ul 处理 组件内的弹出框close问题
<el-dialog custom-class="rental-pop" :close-on-click-modal="false" :append-to-body="true" title="租赁详情" width="30%" :visible.sync="dialogShow" :before-close='close' > <div class="content rental-box"> </div> <span slot="footer" class="dialog-footer"> <el-button type="primary" @click="close">取 消</el-button> </span> </el-dialog>
:before-close='组件内的方法去出发外部属性' 设置组件内的弹出框close问题