1234567891011121314151617181920 |
- import { NgModule } from '@angular/core';
- import { RouterModule, Routes } from '@angular/router';
- import { VipComponent } from './vip/vip.component';
- const routes: Routes = [
- {
- path: '',
- redirectTo:'idcard',
- pathMatch: "full",
- },
- {
- path: 'vip',//实名
- component: VipComponent,
- },
- ]
- @NgModule({
- imports: [RouterModule.forChild(routes)],
- exports: [RouterModule],
- })
- export class GoodsRoutingModule { }
|