温华:暂时修复打包失败问题
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import { Navigate } from "react-router-dom"
|
||||
import Notfound from "../Notfound"
|
||||
import { getToken } from "../utils/auth"
|
||||
import { useDispatch, useSelector } from "react-redux"
|
||||
import { addRoutes, getAsyncRouters } from "../stores/permission"
|
||||
|
||||
@@ -1,13 +1,12 @@
|
||||
import { getToken } from '../utils/auth'
|
||||
import LayOut from '../layout/index'
|
||||
import { Suspense, lazy } from 'react'
|
||||
import Loading from '../Loading'
|
||||
import RouteInterception from './RouteInterception'
|
||||
import Notfound from '../Notfound'
|
||||
interface Meta {
|
||||
title: string,
|
||||
redirect?: boolean
|
||||
}
|
||||
// interface Meta {
|
||||
// title: string,
|
||||
// redirect?: boolean
|
||||
// }
|
||||
|
||||
type route = {
|
||||
path: string,
|
||||
|
||||
Reference in New Issue
Block a user