<template>
  <div class="table-description-cmp">
    <el-tooltip class="item" effect="dark" :content="text" placement="right">
      <el-link :underline="false" class="link">{{ text }}</el-link>
    </el-tooltip>
  </div>
</template>

<script>
export default {
  props: ['text'],
  data() {
    return {
      list: [],
    }
  }
}
</script>

<style scoped>
.link{
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}
</style>
