移除全局搜索和模型对比功能
This commit is contained in:
parent
04c4e17dcc
commit
c8d76437cb
|
|
@ -90,7 +90,6 @@ import SupplierApplication from './pages/SupplierAdmin/application';
|
||||||
import Suppliers from './pages/SupplierAdmin/list';
|
import Suppliers from './pages/SupplierAdmin/list';
|
||||||
import Setup from './pages/Setup';
|
import Setup from './pages/Setup';
|
||||||
import SetupCheck from './components/layout/SetupCheck';
|
import SetupCheck from './components/layout/SetupCheck';
|
||||||
import ModelComparison from './pages/ModelComparison';
|
|
||||||
import OperationLog from './pages/OperationLog';
|
import OperationLog from './pages/OperationLog';
|
||||||
import LuckyBag from './pages/LuckyBag';
|
import LuckyBag from './pages/LuckyBag';
|
||||||
import Drawing from './pages/Drawing';
|
import Drawing from './pages/Drawing';
|
||||||
|
|
@ -590,7 +589,6 @@ function App() {
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
<Route path='/benchmarks' element={<Benchmarks />} />
|
<Route path='/benchmarks' element={<Benchmarks />} />
|
||||||
<Route path='/model-comparison' element={<ModelComparison />} />
|
|
||||||
<Route path='*' element={<NotFound />} />
|
<Route path='*' element={<NotFound />} />
|
||||||
</Routes>
|
</Routes>
|
||||||
</SetupCheck>
|
</SetupCheck>
|
||||||
|
|
|
||||||
|
|
@ -91,11 +91,6 @@ const SiderBar = ({ onNavigate = () => {} }) => {
|
||||||
itemKey: 'benchmarks',
|
itemKey: 'benchmarks',
|
||||||
to: '/benchmarks',
|
to: '/benchmarks',
|
||||||
},
|
},
|
||||||
{
|
|
||||||
text: t('模型对比'),
|
|
||||||
itemKey: 'model-comparison',
|
|
||||||
to: '/model-comparison',
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
text: t('API 测速'),
|
text: t('API 测速'),
|
||||||
itemKey: 'api-tester',
|
itemKey: 'api-tester',
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,6 @@ import MobileMenuButton from './MobileMenuButton';
|
||||||
import HeaderLogo from './HeaderLogo';
|
import HeaderLogo from './HeaderLogo';
|
||||||
import MobileSiteNavDropdown from './MobileSiteNavDropdown';
|
import MobileSiteNavDropdown from './MobileSiteNavDropdown';
|
||||||
import Navigation from './Navigation';
|
import Navigation from './Navigation';
|
||||||
import SearchDropdown from './SearchDropdown';
|
|
||||||
import ActionButtons from './ActionButtons';
|
import ActionButtons from './ActionButtons';
|
||||||
|
|
||||||
const HeaderBar = ({ onMobileMenuToggle, drawerOpen }) => {
|
const HeaderBar = ({ onMobileMenuToggle, drawerOpen }) => {
|
||||||
|
|
@ -116,10 +115,6 @@ const HeaderBar = ({ onMobileMenuToggle, drawerOpen }) => {
|
||||||
|
|
||||||
<div className="flex-1" />
|
<div className="flex-1" />
|
||||||
|
|
||||||
<div className="hidden md:flex items-center mr-2">
|
|
||||||
<SearchDropdown />
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div className="flex items-center gap-1 md:gap-2">
|
<div className="flex items-center gap-1 md:gap-2">
|
||||||
<Navigation
|
<Navigation
|
||||||
mainNavLinks={mainNavLinks}
|
mainNavLinks={mainNavLinks}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue