Merge branch 'feature/new-sys' into 'release'

补充链接href

See merge request workbench/y-code!24
This commit is contained in:
吴骆婷 2024-08-09 18:03:52 +08:00
commit b6ce2afba3

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>