feat(knowledge): 更新知识库模块

- 添加知识库图标上传功能
- 优化知识库列表和详情页面的展示
- 新增智能体编辑功能
- 重构知识库表单组件
This commit is contained in:
陈昱达
2025-04-29 17:28:11 +08:00
parent 9c5fad7f75
commit 66944bcd47
7 changed files with 143 additions and 71 deletions

View File

@@ -59,7 +59,11 @@
>
<div class="dataset-header">
<div class="folder-content">
<img :src="getKnowledgeImage(index)" alt="" class="folder" />
<img
:src="item.image ? item.image : getKnowledgeImage(index)"
alt=""
class="folder"
/>
</div>
<div class="dataset-body" style="flex:1">
<h4 class="dataset-title">{{ item.name }}</h4>