$stateProvider
.state('applist', {
url: '/applist/:projectId/:page',
templateUrl: '../../../dist/html/trackall/applist.html'
})
.state('tracklist', {
url: '/tracklist/:projectId/:appId/:pageIndex',
templateUrl: '../../../dist/html/trackall/tracklist.html',
cache: false,
reload: true
})
.state('default', {
url: '/default/:appId/:plat',
templateUrl: '../../../dist/html/trackall/default.html',
cache: false,
reload: true
})
.state('tracking', {
url: '/tracking/:appId/:plat',
templateUrl: '../../../dist/html/trackall/tracking.html',
cache: false,
reload: true
});
$state.go('tracklist', {}, { reload: true });
已经设置了reload:true;但是还是只是切换路由,没有刷新页面!
不是reloadOnSearch:true么?