我使用Ionic,简单的路由工作但嵌套不工作 这是我的配置:
lc = .Cells(3, Columns.count).End(xlToLeft).Column
.Cells(3, lc + 3).Formula = "=CountCcolor(E3:N" & lrPT & ", " & .Cells(0, lc + 2) & "3)"
这是 html :
.state('category', {
url: '/category',
//If in a folder, template/welcome.html
templateUrl: 'views/category/category.html',
controller: 'categoryController'
})
.state('category.sport', {
url: '/sport',
views: {
'sportContent' :{
templateUrl: 'views/category/sport/sport.html'
// controller: 'sportController'
}
}
})
我错过了什么吗?提前致谢