add categoty
This commit is contained in:
parent
e4da41c85d
commit
c267740693
@ -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',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user