// @ts-nocheck // This file is generated by Umi automatically // DO NOT CHANGE IT MANUALLY! import React from 'react'; export async function getRoutes() { const routes = {"1":{"path":"/user","parentId":"@@/global-layout","id":"1"},"2":{"path":"/user","redirect":"/user/login","parentId":"1","id":"2"},"3":{"name":"登录","path":"/user/login","parentId":"1","id":"3"},"4":{"path":"/","name":"欢迎使用","parentId":"@@/global-layout","id":"4"},"5":{"path":"/","redirect":"/port","parentId":"4","id":"5"},"6":{"name":"报单","path":"/port","parentId":"4","id":"6"},"7":{"name":"退货单","path":"/report","parentId":"4","id":"7"},"8":{"name":"个人中心","path":"/mycenter","parentId":"4","id":"8"},"@@/global-layout":{"id":"@@/global-layout","path":"/","isLayout":true}} as const; return { routes, routeComponents: { '1': React.lazy(() => import( './EmptyRoute')), '2': React.lazy(() => import( './EmptyRoute')), '3': React.lazy(() => import(/* webpackChunkName: "p__user__login" */'@/pages/user/login.jsx')), '4': React.lazy(() => import(/* webpackChunkName: "layouts__layout" */'@/layouts/layout.jsx')), '5': React.lazy(() => import( './EmptyRoute')), '6': React.lazy(() => import(/* webpackChunkName: "p__port__index" */'@/pages/port/index.jsx')), '7': React.lazy(() => import(/* webpackChunkName: "p__report__index" */'@/pages/report/index.jsx')), '8': React.lazy(() => import(/* webpackChunkName: "p__mycenter__index" */'@/pages/mycenter/index.jsx')), '@@/global-layout': React.lazy(() => import(/* webpackChunkName: "layouts__index" */'/Users/wuhao/Desktop/demos/standaloneframe/frontend/src/layouts/index.jsx')), }, }; }