📅  最后修改于: 2022-03-11 14:58:01.899000             🧑  作者: Mango
const routes: Route = [
{path: "OtherPaths",component: OtherPathsComponent},
{path: "PathNotFound", component: PathNotFoundComponent},
{path: "**", redirectTo: "PathNotFound"}
]