{"action":"created","issue":{"url":"https://api.github.com/repos/kittencup/angular2-ama-cn/issues/143","repository_url":"https://api.github.com/repos/kittencup/angular2-ama-cn","labels_url":"https://api.github.com/repos/kittencup/angular2-ama-cn/issues/143/labels{/name}","comments_url":"https://api.github.com/repos/kittencup/angular2-ama-cn/issues/143/comments","events_url":"https://api.github.com/repos/kittencup/angular2-ama-cn/issues/143/events","html_url":"https://github.com/kittencup/angular2-ama-cn/issues/143","id":147309150,"number":143,"title":"ng2路由问题。","user":{"login":"694551594","id":17873626,"avatar_url":"https://avatars.githubusercontent.com/u/17873626?v=3","gravatar_id":"","url":"https://api.github.com/users/694551594","html_url":"https://github.com/694551594","followers_url":"https://api.github.com/users/694551594/followers","following_url":"https://api.github.com/users/694551594/following{/other_user}","gists_url":"https://api.github.com/users/694551594/gists{/gist_id}","starred_url":"https://api.github.com/users/694551594/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/694551594/subscriptions","organizations_url":"https://api.github.com/users/694551594/orgs","repos_url":"https://api.github.com/users/694551594/repos","events_url":"https://api.github.com/users/694551594/events{/privacy}","received_events_url":"https://api.github.com/users/694551594/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-11T03:51:10Z","updated_at":"2016-04-11T13:15:11Z","closed_at":null,"body":"1、切换路由的时候，路由的url能不显示在浏览器的地址栏上么？比如一直显示主域名。\r\n2、路由的参数传递的时候，query形式的参数怎么传递，#137的方法不行了，会报异常：不运行使用包含?的参数。我用的是ng2-beta14。"},"comment":{"url":"https://api.github.com/repos/kittencup/angular2-ama-cn/issues/comments/208334377","html_url":"https://github.com/kittencup/angular2-ama-cn/issues/143#issuecomment-208334377","issue_url":"https://api.github.com/repos/kittencup/angular2-ama-cn/issues/143","id":208334377,"user":{"login":"694551594","id":17873626,"avatar_url":"https://avatars.githubusercontent.com/u/17873626?v=3","gravatar_id":"","url":"https://api.github.com/users/694551594","html_url":"https://github.com/694551594","followers_url":"https://api.github.com/users/694551594/followers","following_url":"https://api.github.com/users/694551594/following{/other_user}","gists_url":"https://api.github.com/users/694551594/gists{/gist_id}","starred_url":"https://api.github.com/users/694551594/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/694551594/subscriptions","organizations_url":"https://api.github.com/users/694551594/orgs","repos_url":"https://api.github.com/users/694551594/repos","events_url":"https://api.github.com/users/694551594/events{/privacy}","received_events_url":"https://api.github.com/users/694551594/received_events","type":"User","site_admin":false},"created_at":"2016-04-11T13:15:11Z","updated_at":"2016-04-11T13:15:11Z","body":"那第二个问题就不用解答了。。直接用普通的传参方式即可。原来就是不想把路由path显示到浏览器上。"}}