刚接触这个做项目,当碰到跳转时,state后面的第一个参数代表什么意思呢?和url有什么对应关系吗?请教各位大神
.state('app.single', {
url: "/history/:sid/:bmid",
views: {
'menuContent': {
templateUrl: "templates/historydata.html",
controller: 'histFun'
}
}
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
https://github.com/angular-ui/ui-router/wiki/Multiple-Named-Views#example---name-matching