angular.js - anguarjs ui的路由问题
阿神
阿神 2017-05-15 16:50:38
0
1
606

刚接触这个做项目,当碰到跳转时,state后面的第一个参数代表什么意思呢?和url有什么对应关系吗?请教各位大神

 .state('app.single', {
    url: "/history/:sid/:bmid",
    views: {
      'menuContent': {
        templateUrl: "templates/historydata.html",
        controller: 'histFun'
      }
    }
阿神
阿神

闭关修行中......

全部回复(1)
我想大声告诉你

https://github.com/angular-ui/ui-router/wiki/Multiple-Named-Views#example---name-matching

热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责声明 Sitemap
PHP中文网:公益在线PHP培训,帮助PHP学习者快速成长!