@ -52,7 +52,7 @@ export type Route = {
} & MenuDataItem;
export type WithFalse<T> = T | false;
export type RouterTypes<P> = {
export type RouterTypes<P extends { [K in keyof P]?: string | undefined; }> = {
computedMatch?: match<P>;
route?: Route;
location: BasicRouteProps['location'] | { pathname?: string };
@ -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");