diff --git a/web/src/components/dashboard/ChartsPanel.jsx b/web/src/components/dashboard/ChartsPanel.jsx
index dc1684a2..0992adac 100644
--- a/web/src/components/dashboard/ChartsPanel.jsx
+++ b/web/src/components/dashboard/ChartsPanel.jsx
@@ -20,11 +20,6 @@ For commercial licensing, please contact support@quantumnous.com
import React from 'react';
import { Card, Tabs, TabPane } from '@douyinfe/semi-ui';
import { PieChart } from 'lucide-react';
-import {
- IconHistogram,
- IconPulse,
- IconPieChart2Stroked,
-} from '@douyinfe/semi-icons';
import { VChart } from '@visactor/react-vchart';
const ChartsPanel = ({
@@ -51,46 +46,14 @@ const ChartsPanel = ({
{t('模型数据分析')}
-
-
- {t('消耗分布')}
-
- }
- itemKey='1'
- />
-
-
- {t('消耗趋势')}
-
- }
- itemKey='2'
- />
-
-
- {t('调用次数分布')}
-
- }
- itemKey='3'
- />
-
-
- {t('调用次数排行')}
-
- }
- itemKey='4'
- />
+ {t('消耗分布')}} itemKey='1' />
+ {t('消耗趋势')}} itemKey='2' />
+ {t('调用次数分布')}} itemKey='3' />
+ {t('调用次数排行')}} itemKey='4' />
}
diff --git a/web/src/components/layout/HeaderBar.js b/web/src/components/layout/HeaderBar.js
deleted file mode 100644
index fc21dc7b..00000000
--- a/web/src/components/layout/HeaderBar.js
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
-export { default } from './HeaderBar/index';
diff --git a/web/src/components/layout/HeaderBar/HeaderLogo.jsx b/web/src/components/layout/HeaderBar/HeaderLogo.jsx
index c81e75d2..73be0516 100644
--- a/web/src/components/layout/HeaderBar/HeaderLogo.jsx
+++ b/web/src/components/layout/HeaderBar/HeaderLogo.jsx
@@ -20,7 +20,7 @@ For commercial licensing, please contact support@quantumnous.com
import React from 'react';
import { Link } from 'react-router-dom';
import { Typography, Tag } from '@douyinfe/semi-ui';
-import SkeletonWrapper from './SkeletonWrapper';
+import SkeletonWrapper from '../components/SkeletonWrapper';
const HeaderLogo = ({
isMobile,
diff --git a/web/src/components/layout/HeaderBar/Navigation.jsx b/web/src/components/layout/HeaderBar/Navigation.jsx
index 3a5e3a3b..e2a4a696 100644
--- a/web/src/components/layout/HeaderBar/Navigation.jsx
+++ b/web/src/components/layout/HeaderBar/Navigation.jsx
@@ -19,7 +19,7 @@ For commercial licensing, please contact support@quantumnous.com
import React from 'react';
import { Link } from 'react-router-dom';
-import SkeletonWrapper from './SkeletonWrapper';
+import SkeletonWrapper from '../components/SkeletonWrapper';
const Navigation = ({
mainNavLinks,
diff --git a/web/src/components/layout/HeaderBar/SkeletonWrapper.jsx b/web/src/components/layout/HeaderBar/SkeletonWrapper.jsx
deleted file mode 100644
index c6224450..00000000
--- a/web/src/components/layout/HeaderBar/SkeletonWrapper.jsx
+++ /dev/null
@@ -1,148 +0,0 @@
-/*
-Copyright (C) 2025 QuantumNous
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU Affero General Public License as
-published by the Free Software Foundation, either version 3 of the
-License, or (at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License
-along with this program. If not, see .
-
-For commercial licensing, please contact support@quantumnous.com
-*/
-
-import React from 'react';
-import { Skeleton } from '@douyinfe/semi-ui';
-
-const SkeletonWrapper = ({
- loading = false,
- type = 'text',
- count = 1,
- width = 60,
- height = 16,
- isMobile = false,
- className = '',
- children,
- ...props
-}) => {
- if (!loading) {
- return children;
- }
-
- // 导航链接骨架屏
- const renderNavigationSkeleton = () => {
- const skeletonLinkClasses = isMobile
- ? 'flex items-center gap-1 p-1 w-full rounded-md'
- : 'flex items-center gap-1 p-2 rounded-md';
-
- return Array(count)
- .fill(null)
- .map((_, index) => (
-