import React from 'react'; import { Layout } from 'antd'; import { Outlet, useLocation } from 'react-router-dom'; import classnames from 'classnames'; import { LinkMenu } from '@/components'; import style from './index.module.less'; const MenuInfos = [ { path: '/', label: '项目管理', }, { path: '/asset-manage', label: '数字要素资产', }, ]; export default function MainLayout() { const location = useLocation(); const currentPath = React.useMemo(() => location.pathname, [location]); return ( {/* header */} {/* logo */}
{/* LinkMenu */} {/* main */} ); }