<template>
  <el-dialog
    :title="dialogVisible.title"
    :visible.sync="dialogVisible.visible"
    width="30%"
  >
    <span>删除后将无法恢复评论</span>
    <span slot="footer" class="dialog-footer">
      <el-button @click="close">取 消</el-button>
      <el-button type="primary" @click="confirm">确 定</el-button>
    </span>
  </el-dialog>
</template>

<script>
export default {
  props: {
    dialogVisible: {
      type: Object,
      default: () => {}
    }
  },
  data() {
    return {}
  },
  methods: {
    confirm() {

    },
    close() {
      this.$emit('closed')
    }
  }
}
</script>

<style lang='less' scoped>
/deep/.el-dialog__body {
    font-size: 16px;
}
</style>
