From e4bcf389adcaf5c93e182ad7485e49c305b149ff Mon Sep 17 00:00:00 2001
From: sbjw <sbjw.happy@163.com>
Date: Wed, 08 Apr 2026 10:09:53 +0000
Subject: [PATCH] 修改样例
---
src/App.js | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/src/App.js b/src/App.js
index 8680615..2b9e238 100644
--- a/src/App.js
+++ b/src/App.js
@@ -1,7 +1,7 @@
import React from 'react';
import MainPage from "./MainPage";
import FirstPage from "./FirstPage";
-import ExamplePage from "./example/ExamplePage";
+import {ExamplePage} from "./example/ExamplePage";
import ExampleBhPage from "./example/ExampleBhPage";
import ExampleCustomToolbarPage from "./example/ExampleCustomToolbarPage";
import ExampleI18nPage from "./example/ExampleI18nPage";
@@ -29,6 +29,8 @@
import Example2DDrawUpdatePage from "./example/Example2DDrawUpdatePage";
import ExampleBlinkPage from "./example/ExampleBlinkPage";
import ExampleDrawDyPage from "./example/ExampleDrawDyPage";
+import ExampleDrawDy2Page from "./example/ExampleDrawDy2Page";
+import ExampleDrawDyPlantPage from "./example/ExampleDrawDyPlantPage";
function App() {
return (
@@ -60,6 +62,8 @@
<Route path="/example/map2dDrawUpdate" exact component={Example2DDrawUpdatePage}/>
<Route path="/example/blink" exact component={ExampleBlinkPage}/>
<Route path="/example/dydraw" exact component={ExampleDrawDyPage}/>
+ <Route path="/example/dy2draw" exact component={ExampleDrawDy2Page}/>
+ <Route path="/example/dy3draw" exact component={ExampleDrawDyPlantPage}/>
<Route path="/doc" exact component={DocPage}/>
<Route path="/doc/:page" exact component={DocPage}/>
<Route path="/test" exact component={TestPage}/>
--
Gitblit v1.9.3