|
@@ -1,13 +1,3 @@
|
|
|
-import {
|
|
|
- UserOutlined,
|
|
|
- SettingOutlined,
|
|
|
- PictureOutlined,
|
|
|
- CommentOutlined,
|
|
|
- AppstoreOutlined,
|
|
|
- BookOutlined,
|
|
|
- ReadOutlined,
|
|
|
- MessageOutlined,
|
|
|
-} from "@ant-design/icons";
|
|
|
import React from "react";
|
|
|
import { DageRouteItem } from "./types";
|
|
|
|
|
@@ -17,7 +7,6 @@ export const DEFAULT_ADMIN_MENU: DageRouteItem[] = [
|
|
|
{
|
|
|
path: "/banner",
|
|
|
title: "海报管理",
|
|
|
- icon: <PictureOutlined />,
|
|
|
Component: React.lazy(() => import("../pages/Banner")),
|
|
|
children: [
|
|
|
{
|
|
@@ -37,7 +26,6 @@ export const DEFAULT_ADMIN_MENU: DageRouteItem[] = [
|
|
|
{
|
|
|
path: "/information",
|
|
|
title: "资讯管理",
|
|
|
- icon: <CommentOutlined />,
|
|
|
Component: React.lazy(() => import("../pages/Information")),
|
|
|
children: [
|
|
|
{
|
|
@@ -61,13 +49,11 @@ export const DEFAULT_ADMIN_MENU: DageRouteItem[] = [
|
|
|
{
|
|
|
path: "/exhibition",
|
|
|
title: "展厅管理",
|
|
|
- icon: <AppstoreOutlined />,
|
|
|
Component: React.lazy(() => import("../pages/Exhibition")),
|
|
|
},
|
|
|
{
|
|
|
path: "/collection",
|
|
|
title: "藏品管理",
|
|
|
- icon: <BookOutlined />,
|
|
|
Component: React.lazy(() => import("../pages/Collection")),
|
|
|
children: [
|
|
|
{
|
|
@@ -83,7 +69,6 @@ export const DEFAULT_ADMIN_MENU: DageRouteItem[] = [
|
|
|
{
|
|
|
path: "/questionnaire",
|
|
|
title: "问卷管理",
|
|
|
- icon: <ReadOutlined />,
|
|
|
Component: React.lazy(() => import("../pages/Questionnaire")),
|
|
|
children: [
|
|
|
{
|
|
@@ -99,19 +84,16 @@ export const DEFAULT_ADMIN_MENU: DageRouteItem[] = [
|
|
|
{
|
|
|
path: "/message",
|
|
|
title: "留言管理",
|
|
|
- icon: <MessageOutlined />,
|
|
|
Component: React.lazy(() => import("../pages/Message")),
|
|
|
},
|
|
|
{
|
|
|
path: "/user",
|
|
|
title: "用户管理",
|
|
|
- icon: <UserOutlined />,
|
|
|
Component: React.lazy(() => import("../pages/User")),
|
|
|
},
|
|
|
{
|
|
|
path: "/log",
|
|
|
title: "操作日志",
|
|
|
- icon: <SettingOutlined />,
|
|
|
Component: React.lazy(() => import("../pages/Log")),
|
|
|
},
|
|
|
];
|