Browse Source

添加调试

feature/rail
LiLongLong 5 months ago
parent
commit
9171cf6b5e
  1. 4
      src/components/SideMenu.tsx
  2. 5
      src/index.tsx
  3. 3
      src/pages/debug/index.tsx

4
src/components/SideMenu.tsx

@ -21,6 +21,10 @@ const items: MenuItem[] = [
key: "g2",
label: "测量记录",
},
{
key: "g3",
label: "调试",
},
],
},
];

5
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: <MeasureAction />,
},
{
path: "debug",
element: <Debug />,
},
],
},
],

3
src/pages/debug/index.tsx

@ -0,0 +1,3 @@
export default function Debug() {
return <div>12</div>
}
Loading…
Cancel
Save