<template>
    <el-dialog v-model="htmlData.htmlVisible" :title="htmlData.title">
        <div v-html="htmlData.details" />
    </el-dialog>
</template>

<script lang="ts" setup>
let props = defineProps({
    htmlData: {
        type: Object,
        default: {
            htmlVisible: {
                type: Boolean,
                default: false
            },
            title: {
                type: String,
                default: ''
            },
            details: {
                type: String,
                default: '<p></p>'
            }
        }
    }
})
</script>