Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
});
}
}, []);
const {
route = {
routes: [],
},
} = props;
const { routes = [] } = route;
const {
children,
breadcrumbNameMap,
dispatch
} = props;
const { breadcrumb } = getMenuData(routes);
console.log(breadcrumbNameMap);
return (
<div>
<div>
</div>
<div>
<div>
{children}
</div>
</div>
</div>
);
};
const LoginLayout: React.SFC = props => {
const {
route = {
routes: [],
},
} = props;
const { routes = [] } = route;
const {
children,
location = {
pathname: '',
},
} = props;
const { breadcrumb } = getMenuData(routes, props);
const links = [{
key: 'FullStack',
title: 'FullStack',
href: 'http://fullstack.qasl.cn',
blankTarget: true
}, {
key: 'Document',
title: '帮助文档',
href: 'https://www.kancloud.cn/tangtanglove/fullstack',
blankTarget: true
}, {
key: 'Github',
title: '问题反馈',
href: 'https://github.com/tangtanglove/fullstack-backend/issues',
blankTarget: true
const UserLayout: React.SFC = props => {
const {
route = {
routes: [],
},
} = props;
const { routes = [] } = route;
const {
children,
location = {
pathname: '',
},
} = props;
const { breadcrumb } = getMenuData(routes);
return (
<div>
<div>
</div>
<div>
<div></div></div></div>
const UserLayout: React.SFC = props => {
const {
route = {
routes: [],
},
} = props;
const { routes = [] } = route;
const {
children,
location = {
pathname: '',
},
} = props;
const { breadcrumb } = getMenuData(routes);
const title = getPageTitle({
pathname: location.pathname,
breadcrumb,
formatMessage,
...props,
});
return (
<>
<title>{title}</title>
<div>
<div>
</div></div>
const UserLayout: React.SFC = props => {
const {
route = {
routes: [],
},
} = props;
const { routes = [] } = route;
const {
children,
location = {
pathname: '',
},
} = props;
const { breadcrumb } = getMenuData(routes);
return (
<div>
<div>
</div>
<div>
<div></div></div></div>
const UserLayout: React.SFC = props => {
const {
route = {
routes: [],
},
} = props;
const { routes = [] } = route;
const {
children,
location = {
pathname: '',
},
} = props;
const { breadcrumb } = getMenuData(routes, props);
return (
<div>
<div>
</div>
<div>
<div></div></div></div>
const UserLayout: React.SFC = props => {
const {
route = {
routes: [],
},
} = props;
const { routes = [] } = route;
const {
children,
location = {
pathname: '',
},
} = props;
const { breadcrumb } = getMenuData(routes, props);
return (
<div>
<div>
</div>
<div>
<div></div></div></div>
const UserLayout: React.SFC = props => {
const {
route = {
routes: [],
},
} = props;
const { routes = [] } = route;
const {
children,
location = {
pathname: '',
},
} = props;
const { breadcrumb } = getMenuData(routes);
const title = getPageTitle({
pathname: location.pathname,
breadcrumb,
formatMessage,
...props,
});
return (
<>
<title>{title}</title>
<div>
<div>
</div></div>
const UserLayout = props => {
const {
route = {
routes: [],
},
} = props;
const { homeback } = props.login
const { routes = [] } = route;
const {
children,
location = {
pathname: '',
},
} = props;
const { breadcrumb } = getMenuData(routes, props);
return (
<div style="{{">
<div>
{children}
</div>
</div>
);