-
1 votesanswersviews
将查询参数传递给Auxiliary Routes Angular 5
我正在尝试将查询参数(不是路由参数)传递给我的每个辅助路径 . 我想要实现的是拥有3个兄弟组件,每个组件都从它自己的辅助路由订阅并使用查询参数,并使用3个不同的数据源填充我的页面,使每个分页/查询成为可能和独立 . 按照Angular的辅助路线模式,我的网址应如下所示: http://mywebsite.com/search(musics:/?page=1&itemsPerPage=12&... -
2 votesanswersviews
以角度4导航到嵌套/多个辅助路径
我试图导航到嵌套的辅助路由,我不断收到错误: ERROR Error: Uncaught (in promise): Error: Cannot match any routes. URL Segment: 'sign-in' 我尝试导航到的网址: http://localhost:4200/(modalcontainer:modals//modalview:sign-in) 我的路由配置如下... -
1 votesanswersviews
使用IIS进行角度辅助路由
我们正在使用辅助路由 http://example.com/path(x:y/1/1) 并在应用服务上托管Azure中的应用程序 . 每次我们刷新使用辅助路由的页面,或直接导航到它,IIS都会给出错误“ A potentially dangerous Request.Path value was detected from the client (:) ” 除了通过设置 <httpRunti... -
1 votesanswersviews
Angular 2路由器 - 更改刚刚命名的插座
我有一个主路由器插座和一个命名插座 . 主插座包含一个子路由器插座 . 当我尝试仅更改指定的插座时,它会失败 - 我被路由到默认的主路由,并且在指定的插座中没有任何反应 . AppRouter(primary / AppModule): { path: 'dashboard', component: DashboardComponent }, { path: 'person/:id', compo...