{"action":"created","issue":{"url":"https://api.github.com/repos/vuejs/vue-router/issues/328","labels_url":"https://api.github.com/repos/vuejs/vue-router/issues/328/labels{/name}","comments_url":"https://api.github.com/repos/vuejs/vue-router/issues/328/comments","events_url":"https://api.github.com/repos/vuejs/vue-router/issues/328/events","html_url":"https://github.com/vuejs/vue-router/issues/328","id":126613708,"number":328,"title":"路由切换后，状态保持问题","user":{"login":"LayGit","id":6624161,"avatar_url":"https://avatars.githubusercontent.com/u/6624161?v=3","gravatar_id":"","url":"https://api.github.com/users/LayGit","html_url":"https://github.com/LayGit","followers_url":"https://api.github.com/users/LayGit/followers","following_url":"https://api.github.com/users/LayGit/following{/other_user}","gists_url":"https://api.github.com/users/LayGit/gists{/gist_id}","starred_url":"https://api.github.com/users/LayGit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LayGit/subscriptions","organizations_url":"https://api.github.com/users/LayGit/orgs","repos_url":"https://api.github.com/users/LayGit/repos","events_url":"https://api.github.com/users/LayGit/events{/privacy}","received_events_url":"https://api.github.com/users/LayGit/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-14T09:30:31Z","updated_at":"2016-01-14T15:52:13Z","closed_at":"2016-01-14T15:52:13Z","body":"在 ready () 中 异步加载数据，路由跳转之后再回来，会重新调用 ready () 方法加载数据。\r\n如何能够让 页面状态 保持，只在第一次渲染的时候调用 ready () 方法？"},"comment":{"url":"https://api.github.com/repos/vuejs/vue-router/issues/comments/171680123","html_url":"https://github.com/vuejs/vue-router/issues/328#issuecomment-171680123","issue_url":"https://api.github.com/repos/vuejs/vue-router/issues/328","id":171680123,"user":{"login":"yyx990803","id":499550,"avatar_url":"https://avatars.githubusercontent.com/u/499550?v=3","gravatar_id":"","url":"https://api.github.com/users/yyx990803","html_url":"https://github.com/yyx990803","followers_url":"https://api.github.com/users/yyx990803/followers","following_url":"https://api.github.com/users/yyx990803/following{/other_user}","gists_url":"https://api.github.com/users/yyx990803/gists{/gist_id}","starred_url":"https://api.github.com/users/yyx990803/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yyx990803/subscriptions","organizations_url":"https://api.github.com/users/yyx990803/orgs","repos_url":"https://api.github.com/users/yyx990803/repos","events_url":"https://api.github.com/users/yyx990803/events{/privacy}","received_events_url":"https://api.github.com/users/yyx990803/received_events","type":"User","site_admin":false},"created_at":"2016-01-14T15:52:13Z","updated_at":"2016-01-14T15:52:13Z","body":"`<router-view keep-alive></router-view>`"}}