{"action":"closed","issue":{"url":"https://api.github.com/repos/vuejs/vue-router/issues/2320","repository_url":"https://api.github.com/repos/vuejs/vue-router","labels_url":"https://api.github.com/repos/vuejs/vue-router/issues/2320/labels{/name}","comments_url":"https://api.github.com/repos/vuejs/vue-router/issues/2320/comments","events_url":"https://api.github.com/repos/vuejs/vue-router/issues/2320/events","html_url":"https://github.com/vuejs/vue-router/issues/2320","id":345414608,"node_id":"MDU6SXNzdWUzNDU0MTQ2MDg=","number":2320,"title":"Vue-router not work properly when the onload event of window not triggered","user":{"login":"zuibunan","id":3386786,"node_id":"MDQ6VXNlcjMzODY3ODY=","avatar_url":"https://avatars1.githubusercontent.com/u/3386786?v=4","gravatar_id":"","url":"https://api.github.com/users/zuibunan","html_url":"https://github.com/zuibunan","followers_url":"https://api.github.com/users/zuibunan/followers","following_url":"https://api.github.com/users/zuibunan/following{/other_user}","gists_url":"https://api.github.com/users/zuibunan/gists{/gist_id}","starred_url":"https://api.github.com/users/zuibunan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zuibunan/subscriptions","organizations_url":"https://api.github.com/users/zuibunan/orgs","repos_url":"https://api.github.com/users/zuibunan/repos","events_url":"https://api.github.com/users/zuibunan/events{/privacy}","received_events_url":"https://api.github.com/users/zuibunan/received_events","type":"User","site_admin":false},"labels":[{"id":313123518,"node_id":"MDU6TGFiZWwzMTMxMjM1MTg=","url":"https://api.github.com/repos/vuejs/vue-router/labels/need%20repro","name":"need repro","color":"eb6420","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-07-28T03:37:26Z","updated_at":"2018-08-02T18:00:46Z","closed_at":"2018-08-02T18:00:46Z","author_association":"NONE","body":"### Version\r\n3.0.1\r\n\r\n### Reproduction link\r\n[https://github.com/vuejs/vue-router/blob/dev/examples/hash-mode/index.html](https://github.com/vuejs/vue-router/blob/dev/examples/hash-mode/index.html)\r\n\r\n### Steps to reproduce\r\nIt seems that vue-router back not work when the onload event of window not trigger\r\nI tested on PC Chrome and Android Phones\r\n\r\n1. clone vue-router，and flow the Development Setup，\r\n2. modify examples/hash-mode/index.html，add a script which would pending a long time (I use a proxy tool `whistle` emulate reqDelay)\r\n3. visit `http://localhost:8080/hash-mode`，click `/foo`\r\n4. at this time, you can see chrome is still on a loading status\r\n5. click browser back button，vue-router didn't  route to right content\r\n\r\n[whistle](http://wproxy.org/whistle/rules/reqDelay.html)\r\n\r\n### What is expected?\r\nvue-router should route to the right component when the back button clicked \r\n\r\n### What is actually happening?\r\nvue-router doesn't route to the right component\r\n\r\nI \r\n<!-- generated by vue-issues. DO NOT REMOVE -->"}}
{"actor":{"display_login":"posva"}}