refactor: 移除AppLayout中未使用的警告组件

This commit is contained in:
Wenjie Zhang 2025-08-31 19:36:08 +08:00
parent acc4942522
commit 43440d63ca
2 changed files with 4 additions and 12 deletions

View File

@ -11,9 +11,9 @@
- [x] LlightRAG 知识库中,点击边,没有显示,但是在全屏的时候却又能够显示出来。
- [ ] 部分 doc 格式的文件支持有问题
- [ ] 当出现不支持的文件类型的时候,前端没有限制
- [ ] 默认智能体设置后,在一些情况下依然仅加载第一个智能体
- [ ] 目前只能获取默认的 tools单个智能体的tools没法展示
- [ ] 生成的过程中切换对话,会出现消息渲染混乱的问题,消息完全记载完成之后不会出现混乱
- [x] 默认智能体设置后,在一些情况下依然仅加载第一个智能体
- [x] 目前只能获取默认的 tools单个智能体的tools没法展示
- [x] 生成的过程中切换对话,会出现消息渲染混乱的问题,消息完全记载完成之后不会出现混乱
- [ ] 当消息生成的时候有报错的时候,前端无显示
💯 **More**:

View File

@ -1,5 +1,5 @@
<script setup>
import { ref, reactive, onMounted, useTemplateRef, shallowRef } from 'vue'
import { ref, reactive, onMounted, useTemplateRef, computed } from 'vue'
import { RouterLink, RouterView, useRoute } from 'vue-router'
import {
GithubOutlined,
@ -127,14 +127,6 @@ const mainList = [{
<component class="icon" :is="route.path.startsWith(item.path) ? item.activeIcon : item.icon" size="22"/>
<span class="text">{{item.name}}</span>
</RouterLink>
<a-tooltip placement="right">
<template #title>后端疑似没有正常启动或者正在繁忙中请刷新一下或者检查 docker logs api-dev</template>
<div class="nav-item warning" v-if="!configStore.config._config_items">
<component class="icon" :is="ExclamationCircleOutlined" />
<span class="text">警告</span>
</div>
</a-tooltip>
</div>
<div
ref="htmlRefHook"