feat: 优化面包屑
This commit is contained in:
parent
cdadcf3cd0
commit
670e88b572
@ -37,6 +37,8 @@
|
||||
</el-button>
|
||||
</div>
|
||||
<template #dropdown>
|
||||
<el-scrollbar>
|
||||
<div style="max-height: 400px">
|
||||
<el-dropdown-menu>
|
||||
<template v-for="(item, index) in list" :key="index">
|
||||
<div :class="item.id === id ? 'dropdown-active' : ''">
|
||||
@ -79,13 +81,18 @@
|
||||
</div>
|
||||
</template>
|
||||
<template v-else-if="isDataset">
|
||||
<div class="w-full text-left cursor" @click="router.push({ path: '/dataset/create' })">
|
||||
<div
|
||||
class="w-full text-left cursor"
|
||||
@click="router.push({ path: '/dataset/create' })"
|
||||
>
|
||||
<el-button link>
|
||||
<el-icon class="mr-4"><Plus /></el-icon> 创建知识库
|
||||
</el-button>
|
||||
</div>
|
||||
</template>
|
||||
</div>
|
||||
</div>
|
||||
</el-scrollbar>
|
||||
</template>
|
||||
</el-dropdown>
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user