<template>
  <div>
    <el-avatar :src="avatar" />
    <p class="over">{{ username }}</p>
  </div>
</template>

<script>
export default {
  name: 'DkUserInfo',
  props: {
    avatar: {
      default: '',
      type: String
    },
    username: {
      default: '',
      type: String
    }
  }
}
</script>

<style scoped>
p{
  margin: 0;
  padding: 0;
}

</style>
