import React from 'react';
import HomeLayout from './HomeLayout';
import BlankLayout from './BlankLayout';
import {getActiveRoute} from '@/utils';
const Index = (props) => {
console.log(props);
const item =getActiveRoute(props.route.routes,props.location.pathname);
if (item && item.isFull) {
console.log('full layout');
return {props.children};
}
return (
<>
{props.children}
>
);
};
export default Index;