<checkedLog :father-dialog-visible.sync="fatherDialogVisible"></checkedLog>
<el-dialog :title="dialogTitle" :visible.sync="dialogVisibleInner" :close-on-click-modal="false"
:close-on-press-escape="false" destroy-on-close width="63%" top="5vh" @open="openLogDialog"
custom-class="custom-checked-log">
</el-dialog>
props: {
// 弹框标题
dialogTitle: {
type: String,
default: ""
},
// 判断弹框是否展开
fatherDialogVisible: {
type: Boolean,
default: false
},
},
data() {
return {};
},
computed: {
dialogVisibleInner: {
get() {
return this.fatherDialogVisible
},
set(value) {
this.$emit('update:fatherDialogVisible', value)
}
},
},
methods: {
openLogDialog() {
},
}
vue el-dialog .sync
于 2024-03-01 10:55:42 首次发布