feat: 互动记录文章标题支持点击跳转详情页(el-link)
This commit is contained in:
@@ -30,16 +30,7 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="文章" min-width="180" show-overflow-tooltip>
|
<el-table-column label="文章" min-width="180" show-overflow-tooltip>
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
<el-tooltip v-if="row.article_id" content="点击查看文章详情" placement="top">
|
<el-link :href="getArticleUrl(row.article_id)" target="_blank" type="primary" style="font-size:13px">{{ row.article_title || row.article_id || '--' }}</el-link>
|
||||||
<a
|
|
||||||
:href="getArticleUrl(row.article_id)"
|
|
||||||
target="_blank"
|
|
||||||
style="font-size:13px;color:var(--el-color-primary);text-decoration:none;cursor:pointer"
|
|
||||||
@mouseover="$event.target.style.textDecoration='underline'"
|
|
||||||
@mouseout="$event.target.style.textDecoration='none'"
|
|
||||||
>{{ row.article_title || row.article_id }}</a>
|
|
||||||
</el-tooltip>
|
|
||||||
<span v-else style="font-size:13px">{{ row.article_title || '--' }}</span>
|
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="类型" width="80" align="center">
|
<el-table-column label="类型" width="80" align="center">
|
||||||
|
|||||||
Reference in New Issue
Block a user