add categoty

This commit is contained in:
sdaduanbilei-d1581 2026-01-19 11:10:49 +08:00
parent e4da41c85d
commit c267740693

View File

@ -23,6 +23,13 @@
<a-tag size="small" v-else>未推荐</a-tag>
</div>
</template>
<template #classification="{ record }">
<div class="flex flex-">
<a-tag v-for="item in record.classification" class="ml-5">
{{ item.name }}
</a-tag>
</div>
</template>
<template #menu="{ record }">
<div class="flex flex-center">
<edit type="edit" :info="record" @ok="fetchList" />
@ -72,6 +79,10 @@ export default {
title: 'latinName',
dataIndex: 'latinName'
},
{
title: '分类',
slotName: 'classification'
},
{
title: '科/属',
dataIndex: 'genus',