<el-table-column label="域名"
min-width="250">
<template slot-scope="scope">
<a :href="'http://'+scope.row.Address"
target="_blank"
class="buttonText">{{scope.row.Address}}</a>
</template>
</el-table-column>
本文介绍了一种使用 Element UI 库中的 el-table-column 组件来显示带有超链接的域名的方法。通过设置模板插槽,使得表格中的每一项都能作为链接直接访问对应的网站地址。
3413

被折叠的 条评论
为什么被折叠?



