[英]Angular ui router going to default route always
I have about 20 route in my application, however from about the 15 routes and over every time i navigate i get redirected to the default root, and when i try again , doing the same steps as at first i can now navigate to the route. 我的应用程序中大约有20条路由,但是从15条路由开始,每次导航时,我都会重定向到默认根目录,当我再次尝试时,执行与起初相同的步骤,现在可以导航到该路由。 So my question is does angular has a finite number of routing that are possible.
所以我的问题是,角形是否具有有限数量的可行路径。
Below is one of the routes i am using. 以下是我使用的路线之一。
$stateProvider.state('checklist-details', {
url: '/checklist-details/:idChecklist/:modeOfScreen',
parent: 'root',
views: {
'mainContent': {
templateUrl: 'modules/app/views/checklist-details.html',
controller: 'checklistDetailsController',
resolve: {
factory: checkRouting
}
}
}
}); //END state
If it's redirecting to default view, there should be an error on console output. 如果将其重定向到默认视图,则控制台输出上应该有错误。 What is the error?
有什么错误?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.