{"action":"created","issue":{"url":"https://api.github.com/repos/zhaoda/spa/issues/37","repository_url":"https://api.github.com/repos/zhaoda/spa","labels_url":"https://api.github.com/repos/zhaoda/spa/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/zhaoda/spa/issues/37/comments","events_url":"https://api.github.com/repos/zhaoda/spa/issues/37/events","html_url":"https://github.com/zhaoda/spa/issues/37","id":139516511,"number":37,"title":"请问下怎么在路由后面添加参数，我在hash后面添加参数失败","user":{"login":"heyxiaoling","id":8011617,"avatar_url":"https://avatars.githubusercontent.com/u/8011617?v=3","gravatar_id":"","url":"https://api.github.com/users/heyxiaoling","html_url":"https://github.com/heyxiaoling","followers_url":"https://api.github.com/users/heyxiaoling/followers","following_url":"https://api.github.com/users/heyxiaoling/following{/other_user}","gists_url":"https://api.github.com/users/heyxiaoling/gists{/gist_id}","starred_url":"https://api.github.com/users/heyxiaoling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heyxiaoling/subscriptions","organizations_url":"https://api.github.com/users/heyxiaoling/orgs","repos_url":"https://api.github.com/users/heyxiaoling/repos","events_url":"https://api.github.com/users/heyxiaoling/events{/privacy}","received_events_url":"https://api.github.com/users/heyxiaoling/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-03-09T09:00:29Z","updated_at":"2016-03-10T08:11:19Z","closed_at":null,"body":"http://localhost/php/MobileRoot/#index?name=hey&pass=123\r\n\r\n类似这样"},"comment":{"url":"https://api.github.com/repos/zhaoda/spa/issues/comments/194724376","html_url":"https://github.com/zhaoda/spa/issues/37#issuecomment-194724376","issue_url":"https://api.github.com/repos/zhaoda/spa/issues/37","id":194724376,"user":{"login":"heyxiaoling","id":8011617,"avatar_url":"https://avatars.githubusercontent.com/u/8011617?v=3","gravatar_id":"","url":"https://api.github.com/users/heyxiaoling","html_url":"https://github.com/heyxiaoling","followers_url":"https://api.github.com/users/heyxiaoling/followers","following_url":"https://api.github.com/users/heyxiaoling/following{/other_user}","gists_url":"https://api.github.com/users/heyxiaoling/gists{/gist_id}","starred_url":"https://api.github.com/users/heyxiaoling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heyxiaoling/subscriptions","organizations_url":"https://api.github.com/users/heyxiaoling/orgs","repos_url":"https://api.github.com/users/heyxiaoling/repos","events_url":"https://api.github.com/users/heyxiaoling/events{/privacy}","received_events_url":"https://api.github.com/users/heyxiaoling/received_events","type":"User","site_admin":false},"created_at":"2016-03-10T08:11:19Z","updated_at":"2016-03-10T08:11:19Z","body":"spa.js 1920行 ，有这么一句话，history.replaceState()会替换掉hash，这句话去掉就支持参数了，现在没发现什么问题，替换掉url有什么含义不是很理解\r\nif(replace) {\r\n      //history.replaceState(pushData, title, hash)\r\nreplace默认是true"}}