温华:暂时修复打包失败问题

This commit is contained in:
wenhua
2023-11-01 11:30:19 +08:00
parent 1e768b147f
commit 23cebffc12
22 changed files with 38 additions and 40 deletions

View File

@@ -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"

View File

@@ -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,