element 加提示 el-tooltip

浪淘沙2个月前前端51
<el-table-column prop="ym" label="域名" min-width="150">
    <template #default="{ row }">
        <el-tooltip placement="top">
            <template #content>
                <a
                    :href="row.ym.startsWith('http') ? row.ym : 'https://' + row.ym"                          
                    target="_blank"
                     style="color:#409EFF;text-decoration:underline"                >
                    {{ row.ym }}
                </a>
            </template>

            <span class="ellipsis">
                {{ row.ym }}
            </span>
        </el-tooltip>
    </template>
<el-table-column prop="ym" label="域名" min-width="150">
    <template #default="{ row }">               
        <el-tooltip :content="row.ym"
         placement="top">
         <span class="ellipsis">
             {{ row.ym }}
         </span>                  
        </el-tooltip>
    </template>
</el-table-column>


相关文章

asp.net core razor 提交按钮时提示信息

<div class="layui-fluid  paneltop20">     <...

element el-switch 默认选择

   mounted() {        if (this.form.act...

vue 显示或隐藏

 <div class="card m-0 mt-3" id="mb" v-show=&quo...

layui form提交时,弹出确认框

layui form提交时,弹出确认框

<div class="container yx-form">     <form c...

asp.net code webapi layui ajax post表单数据

using System; using System.Collections.Generic; using System.Linq; using Syst...

layui 弹出iframe

layui 弹出iframe

<div class="layui-panel layui-padding-3">     <for...

发表评论    

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。