import { Layout } from 'antd';
import { Outlet } from 'react-router';

const { Content } = Layout;

function UserLayout() {
  return (
        
        <Content style={{ margin: '24px 16px 0' }}>
          <div style={{ padding: 24, minHeight: 360 }}>
            <Outlet /> {/* 这里会渲染子路由对应的组件 */}
          </div>
        </Content>
      
  );
}

export default UserLayout;