diff --git a/src/layouts/BaseLayout/typings.ts b/src/layouts/BaseLayout/typings.ts index bf9d326..c9156bf 100644 --- a/src/layouts/BaseLayout/typings.ts +++ b/src/layouts/BaseLayout/typings.ts @@ -52,7 +52,7 @@ export type Route = { } & MenuDataItem; export type WithFalse = T | false; -export type RouterTypes

= { +export type RouterTypes

= { computedMatch?: match

; route?: Route; location: BasicRouteProps['location'] | { pathname?: string }; diff --git a/src/layouts/index.tsx b/src/layouts/index.tsx index 6243e07..61e13a8 100644 --- a/src/layouts/index.tsx +++ b/src/layouts/index.tsx @@ -15,7 +15,7 @@ import { layoutConfig } from "@/layouts/config"; import stores from "@/store"; import "moment/locale/zh-cn"; import "antd/dist/antd.variable.min.css"; -import "../utils/flexible"; +// import "../utils/flexible"; moment.locale("zh-cn");