update doc

This commit is contained in:
chenos 2021-07-24 14:16:09 +08:00
parent 91ecd98071
commit 00bb0f747e
3 changed files with 10 additions and 4 deletions

View File

@ -40,9 +40,7 @@ const App = () => {
return ( return (
<div> <div>
{/* <Router initialEntries={['/admin']}> */} <RouteSwitch routes={data} />
<RouteSwitch routes={data} />
{/* </Router> */}
</div> </div>
); );
}; };

View File

@ -1,3 +1,7 @@
---
hide: true
---
<code src="./demos/demo1.tsx"/> <code src="./demos/demo1.tsx"/>
<code src="./demos/demo2.tsx"/> <code src="./demos/demo2.tsx"/>

View File

@ -1 +1,5 @@
<code src="./demos/demo1.tsx"/> ---
hide: true
---
<code src="./demos/demo1.tsx"/>