From 9171cf6b5e45a6b6e7b5a4e9dd74c256d8363764 Mon Sep 17 00:00:00 2001 From: LiLongLong <13717757313@163.com> Date: Wed, 5 Mar 2025 10:31:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/SideMenu.tsx | 4 ++++ src/index.tsx | 5 +++++ src/pages/debug/index.tsx | 3 +++ 3 files changed, 12 insertions(+) create mode 100644 src/pages/debug/index.tsx diff --git a/src/components/SideMenu.tsx b/src/components/SideMenu.tsx index 4cc4d4d..31d7a0d 100644 --- a/src/components/SideMenu.tsx +++ b/src/components/SideMenu.tsx @@ -21,6 +21,10 @@ const items: MenuItem[] = [ key: "g2", label: "测量记录", }, + { + key: "g3", + label: "调试", + }, ], }, ]; diff --git a/src/index.tsx b/src/index.tsx index b45b236..18dab37 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -7,6 +7,7 @@ import Measure from "./pages/measure/Measure"; import MeasureConfig from "./pages/measure/components/MeasureConfig"; import MeasureDetail from "./pages/measure/components/MeasureDetail"; import MeasureAction from "./pages/measure/components/MeasureAction"; +import Debug from "./pages/debug/index" import App from "./App"; import reportWebVitals from "./reportWebVitals"; @@ -31,6 +32,10 @@ const router = createBrowserRouter([ path: "action", element: , }, + { + path: "debug", + element: , + }, ], }, ], diff --git a/src/pages/debug/index.tsx b/src/pages/debug/index.tsx new file mode 100644 index 0000000..d4c8a9b --- /dev/null +++ b/src/pages/debug/index.tsx @@ -0,0 +1,3 @@ +export default function Debug() { + return
12
+} \ No newline at end of file