diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index e3ce893..833c96c 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -4,12 +4,12 @@ * @Author: sueRimn * @Date: 2020-10-07 15:00:15 * @LastEditors: sueRimn - * @LastEditTime: 2020-10-09 14:37:03 + * @LastEditTime: 2020-10-09 15:28:06 */ import { NgModule } from '@angular/core'; import { Routes, RouterModule } from '@angular/router'; import { LoginComponent } from './pages/login/login.component'; -import { NavigationComponent } from './navigation/navigation.component'; +//import { NavigationComponent } from './navigation/navigation.component'; import { LockscreenComponent } from './pages/lockscreen/lockscreen.component'; import {HomeComponent} from './home/home.component' @@ -17,7 +17,7 @@ import {HomeComponent} from './home/home.component' import {AuthGuard} from './auth.guard' import {MTokenK1Component} from './m-token-k1/m-token-k1.component' //K1秘钥 import { LuckDrawComponent } from './ui/luck-draw/luck-draw.component'; - +import {ResetComponent} from './ui/reset/reset.component' const routes: Routes = [ @@ -34,6 +34,7 @@ const routes: Routes = [ ] }, */ {path:'',component:LuckDrawComponent}, + {path:'Reset',component:ResetComponent}, // {path:'login', // component:LoginComponent}, diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 56aca43..8e939d2 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -9,7 +9,7 @@ import { MatIconModule } from '@angular/material/icon'; import { MatSidenavModule } from '@angular/material/sidenav'; //import { NavigationModule } from './navigation/navigation.module'; import { HomeComponent } from './home/home.component'; -import { TabbarComponent } from './tabbar/tabbar.component'; +//import { TabbarComponent } from './tabbar/tabbar.component'; import { PagesModule } from './pages/pages.module'; import { FormsModule } from '@angular/forms'; import { UiModule } from './ui/ui.module';