<template>
    <div>
        <el-dialog v-model="dialogVisible" :title="titleTips" width="30%" @close="closes">
            <h1>确认删除该条数据？</h1>
            <template #footer>
                <span class="dialog-footer">
                    <el-button @click="cancels">取消</el-button>
                    <el-button type="primary" @click="sureAdd">确认</el-button>
                </span>
            </template>
        </el-dialog>
    </div>
</template>

<script>
import { ref, onMounted, toRefs } from 'vue'
export default {
    setup() {
        let dialogVisible = ref(false)
        

        return {}
    }
}
</script>

<style lang="scss" scoped></style>