shaogen1995 4 mesi fa
parent
commit
636e691695
1 ha cambiato i file con 5 aggiunte e 1 eliminazioni
  1. 5 1
      src/App.tsx

+ 5 - 1
src/App.tsx

@@ -25,8 +25,12 @@ export default function App() {
       <Router history={history}>
         <React.Suspense fallback={<SpinLoding />}>
           <Switch>
-            {/* 测试页面 */}
             <Route path='/login' component={Login} />
+            {/*  打印页面 */}
+            {/* <Route
+              path='/logPage/:key'
+              component={React.lazy(() => import('./pages/W_log/index'))}
+            /> */}
             <AuthRoute path='/' component={Layout} />
           </Switch>
         </React.Suspense>