|
|
@@ -10,7 +10,6 @@ import styles from "./index.module.scss";
|
|
|
import SpinLoding from "@/components/SpinLoding";
|
|
|
import { Route, Switch, useLocation } from "react-router-dom";
|
|
|
import AuthRoute from "@/components/AuthRoute";
|
|
|
-import NotFound from "@/components/NotFound";
|
|
|
import classNames from "classnames";
|
|
|
import history from "@/utils/history";
|
|
|
import { Button, Form, Input, Modal, Popconfirm } from "antd";
|
|
|
@@ -29,6 +28,8 @@ import inco3Ac from "@/assets/img/inco3Ac.png";
|
|
|
import inco4Ac from "@/assets/img/inco4Ac.png";
|
|
|
import { MessageFu } from "@/utils/message";
|
|
|
|
|
|
+const NotFound = React.lazy(() => import("@/components/NotFound"));
|
|
|
+
|
|
|
function Layout() {
|
|
|
const dispatch = useDispatch();
|
|
|
|