|
|
@@ -1,4 +1,4 @@
|
|
|
-import Icon, { DesktopOutlined, UploadOutlined } from '@ant-design/icons'
|
|
|
+import Icon, { DesktopOutlined } from '@ant-design/icons'
|
|
|
import { AdminRouterItem } from "../../router";
|
|
|
import React, { Suspense } from 'react';
|
|
|
import WeComIcon from "@src/assets/images/publishContent/wxCom.svg?react";
|
|
|
@@ -9,7 +9,6 @@ import { Outlet } from "react-router-dom";
|
|
|
// Lazy load components
|
|
|
const WeCom = React.lazy(() => import('./weCom/index'));
|
|
|
const WeGZH = React.lazy(() => import('./weGZH/index'));
|
|
|
-const Videos = React.lazy(() => import('./videos/index'));
|
|
|
|
|
|
// Loading fallback component
|
|
|
// eslint-disable-next-line react-refresh/only-export-components
|
|
|
@@ -60,16 +59,6 @@ const demoRoutes: AdminRouterItem[] = [
|
|
|
icon: <Icon component={WeComIcon} className="!text-[20px]"/>,
|
|
|
}
|
|
|
},
|
|
|
- {
|
|
|
- path: 'videos',
|
|
|
- element: <LazyComponent Component={Videos} />,
|
|
|
- meta: {
|
|
|
- label: "上传内容管理",
|
|
|
- title: "上传内容管理",
|
|
|
- key: "/publishContent/videos",
|
|
|
- icon: <UploadOutlined className="!text-[20px]"/>,
|
|
|
- }
|
|
|
- },
|
|
|
]
|
|
|
}
|
|
|
]
|