fix: 补充链接href
This commit is contained in:
parent
098c4cc93c
commit
5142c39920
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user