本地起服时,如果输入的路径无法匹配现有规则,则会跳转至主页,带来一定困扰,最好是统一显示或者导航至特定页面,以便debug
const routes: Routes = [
{
path: '**',
component: PageNotFoundComponent
}
];
本地起服时,如果输入的路径无法匹配现有规则,则会跳转至主页,带来一定困扰,最好是统一显示或者导航至特定页面,以便debug
const routes: Routes = [
{
path: '**',
component: PageNotFoundComponent
}
];