fix: 补充链接href

This commit is contained in:
sy2084 2024-08-09 17:47:36 +08:00
parent 098c4cc93c
commit 5142c39920

View File

@ -42,7 +42,7 @@
>
<template #bodyCell="{ column, record }">
<a-image v-if="column.show_type === 'img'" :src="record[column.dataIndex]" :width="160" />
<a v-else-if="column.show_type === 'link'" target="_blank">{{ record[column.dataIndex] }}</a>
<a v-else-if="column.show_type === 'link'" target="_blank" :href="record[column.dataIndex]">{{ record[column.dataIndex] }}</a>
<div v-else-if="column.show_type === 'richText'" v-html="record[column.dataIndex]"></div>
<template v-else>{{ record[column.dataIndex] }}</template>
</template>