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