diff --git a/vite-frontend/src/App.tsx b/vite-frontend/src/App.tsx index d3b6e67..bc19000 100644 --- a/vite-frontend/src/App.tsx +++ b/vite-frontend/src/App.tsx @@ -15,7 +15,6 @@ import ProfilePage from "@/pages/profile"; import LimitPage from "@/pages/limit"; import ConfigPage from "@/pages/config"; import PanelSharingPage from "@/pages/panel-sharing"; -import { SettingsPage } from "@/pages/settings"; import AdminLayout from "@/layouts/admin"; import H5Layout from "@/layouts/h5"; import H5SimpleLayout from "@/layouts/h5-simple"; @@ -243,7 +242,6 @@ function App() { } path="/panel-sharing" /> - } path="/settings" /> ); diff --git a/vite-frontend/src/components/navbar.tsx b/vite-frontend/src/components/navbar.tsx index a3e51b6..ae1f470 100644 --- a/vite-frontend/src/components/navbar.tsx +++ b/vite-frontend/src/components/navbar.tsx @@ -81,7 +81,7 @@ export const Navbar = () => { -

- 面板设置 -

- - - - - {/* 内容区域 */} -
-
- - -

- 更新设置 -

-
- -

- 版本提示会根据该通道检查最新版本。 -

-
-
-
- - - -

- 显示设置 -

-
-
-
-
-

- 规则页面精简模式 -

-

- 开启后,规则页面列表使用 2.1.6-alpha8 样式。{" "} -

-
- -
- {!admin && ( -

- 仅管理员可修改该全局配置。 -

- )} -
-
-
-
- - {/* 添加新地址 */} - - -

- 添加新面板地址 -

-
-
- setNewName(e.target.value)} - /> - setNewAddress(e.target.value)} - /> -
- -
-
-
- - {/* 地址列表 */} - - -

- 已保存的面板地址 -

- {panelAddresses.length === 0 ? ( -

- 暂无保存的面板地址 -

- ) : ( -
- {panelAddresses.map((panel, index) => ( -
-
-
-
- - {panel.name} - - {panel.inx && ( - - 当前 - - )} -
-

- {panel.address} -

-
-
- {!panel.inx && ( - - )} - -
-
-
- ))} -
- )} -
-
-
-
- - ); -};