import React, { useState, useEffect } from 'react'; import ProCard from '@ant-design/pro-card'; import { Empty } from 'antd'; import WebMenu from './webMenu'; const MenuConfig = props => { const { menu } = props; return ( <> <div split="vertical" style={{ height: 'calc(100% - 10px)' }}> <WebMenu {...props} /> </div> </> ); }; export default MenuConfig;