/** @Author: honghong* @LastEditors : Please set LastEditors* @Description: 根模块的路由,本项目的路由使用懒加载模式,参考网址:https://angular.cn/guide/lazy-loading-ngmodules* @email: 3300536651@qq.com* @Date: 2019年04月16日 15:57:43* @LastEditTime : 2020年03月02日 14:41:43*/import { Routes } from '@angular/router';import { ErrorComponent } from './components/error/error.component';import { LayoutComponent } from './components/layout/layout.component';import { LockscreenComponent } from './components/lockscreen/lockscreen.component';import { UserService } from 'src/fccore/service/user.service';import { SyssigninComponent } from 'src/feature/fc/fcsystem/components/syspassword/syssignin/syssignin.component';import { SysforgotComponent } from 'src/feature/fc/fcsystem/components/syspassword/sysforgot/sysforgot.component';import { SyssignupComponent } from 'src/feature/fc/fcsystem/components/syspassword/syssignup/syssignup.component';const SignIn = 'signin';export const AppRoutes: Routes = [{canActivate: [UserService], // 路由守卫children: [{path: 'error', // 错误component: ErrorComponent},{path: 'fc', // 项目的业务模块loadChildren: () => import('../feature/fc/fc.module').then(res => res.FcModule)}],component: LayoutComponent,path: ''},{path: SignIn, // 登录component: SyssigninComponent},{path: 'forgot', // 忘记密码component: SysforgotComponent},{path: 'lockscreen', // 锁屏component: LockscreenComponent},{path: 'signup', // 注册component: SyssignupComponent}]
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。