fix: remove unused imports + duplicate breadcrumb
All checks were successful
Deploy Admin Frontend / build-and-deploy (push) Successful in 8s

This commit is contained in:
WangDL 2026-05-22 15:55:58 +08:00
parent c5ddce4216
commit 8f1d0eecef
2 changed files with 2 additions and 3 deletions

View File

@ -20,7 +20,6 @@ const breadcrumbMap: Record<string, string> = {
'/imports': '文档导入',
'/files': '文件与 COS',
'/settings': '系统配置',
'/knowledge/bases': '知识库列表',
'/billing': 'API 用量',
'/git': '代码仓库',
'/servers': '服务器运维',

View File

@ -1,11 +1,11 @@
import { useState } from 'react'
import { useQuery, useQueryClient } from '@tanstack/react-query'
import { Table, Tag, Typography, Button, Space, App, Input } from 'antd'
import { Table, Tag, Typography, Button, Space, App } from 'antd'
import { ReloadOutlined, EyeOutlined, DeleteOutlined } from '@ant-design/icons'
import { getKnowledgeBases, deleteKnowledgeBase, type KnowledgeBase } from '@/services/knowledge-api'
import dayjs from 'dayjs'
const { Title, Text } = Typography
const { Title } = Typography
function KBPage() {
const { modal, message } = App.useApp()