edit
This commit is contained in:
@ -7,6 +7,7 @@ import { NgModule } from '@angular/core';
|
||||
import { RouterModule, Routes } from '@angular/router';
|
||||
import { FreightAccountDetailComponent } from './components/freight-account/freight-account-detail/freight-account-detail.component';
|
||||
import { DriverAccountDetailComponent } from './components/driver-account/driver-account-detail/driver-account-detail.component';
|
||||
import { WithdrawalsDetailComponent } from './components/withdrawals-record/withdrawals-detail/withdrawals-detail.component';
|
||||
|
||||
const routes: Routes = [
|
||||
{ path: 'freight-account', component: FreightAccountComponent },
|
||||
@ -15,6 +16,7 @@ const routes: Routes = [
|
||||
{ path: 'driver-account-detail/:id', component: DriverAccountDetailComponent },
|
||||
{ path: 'recharge-record', component: RechargeRecordComponent },
|
||||
{ path: 'withdrawals-record', component: WithdrawalsRecordComponent },
|
||||
{ path: 'withdrawals-detail/:id', component: WithdrawalsDetailComponent },
|
||||
{ path: 'main-account', component: MainAccountComponent }
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user