element plus中的el-link如何去掉下划线

解决方法:在el-link中增加 :underline='false'

<el-table-column
    property="name"
    label="名称"
    show-overflow-tooltip>
          <template #default="scope">
          //去掉下滑先属性 :underline="false"
            <el-link
              :underline="false"
              type="primary"
              target="_blank"
              @click="gotoRouter(row)"
            >
              {
   
   { scope.row.name }}
            </el-link>
          </template>
</el-table-column>

 全掉下划线后的样式:

 

猜你喜欢

转载自blog.csdn.net/weixin_42901443/article/details/129341204