{"action":"created","issue":{"url":"https://api.github.com/repos/Meituan-Dianping/mpvue/issues/300","repository_url":"https://api.github.com/repos/Meituan-Dianping/mpvue","labels_url":"https://api.github.com/repos/Meituan-Dianping/mpvue/issues/300/labels{/name}","comments_url":"https://api.github.com/repos/Meituan-Dianping/mpvue/issues/300/comments","events_url":"https://api.github.com/repos/Meituan-Dianping/mpvue/issues/300/events","html_url":"https://github.com/Meituan-Dianping/mpvue/issues/300","id":314945644,"node_id":"MDU6SXNzdWUzMTQ5NDU2NDQ=","number":300,"title":"data的数据在页面销毁时候不会初始化","user":{"login":"lessthanno","id":6271483,"node_id":"MDQ6VXNlcjYyNzE0ODM=","avatar_url":"https://avatars0.githubusercontent.com/u/6271483?v=4","gravatar_id":"","url":"https://api.github.com/users/lessthanno","html_url":"https://github.com/lessthanno","followers_url":"https://api.github.com/users/lessthanno/followers","following_url":"https://api.github.com/users/lessthanno/following{/other_user}","gists_url":"https://api.github.com/users/lessthanno/gists{/gist_id}","starred_url":"https://api.github.com/users/lessthanno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lessthanno/subscriptions","organizations_url":"https://api.github.com/users/lessthanno/orgs","repos_url":"https://api.github.com/users/lessthanno/repos","events_url":"https://api.github.com/users/lessthanno/events{/privacy}","received_events_url":"https://api.github.com/users/lessthanno/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":22,"created_at":"2018-04-17T07:56:26Z","updated_at":"2018-07-17T07:00:07Z","closed_at":null,"author_association":"NONE","body":"# [在vue文件中，data的数据参数是true & false，页面销毁后无法进行初始化]\r\n\r\n```\r\ndata() {\r\n    return {\r\n      index:1,\r\n      isShowModal: false,\r\n      isScroll: true\r\n    };\r\n  },\r\n```\r\n\r\n当把this.isShowModal = true 之后，返回上一页面后再回来，isShowModa 还是true\r\n"},"comment":{"url":"https://api.github.com/repos/Meituan-Dianping/mpvue/issues/comments/405480366","html_url":"https://github.com/Meituan-Dianping/mpvue/issues/300#issuecomment-405480366","issue_url":"https://api.github.com/repos/Meituan-Dianping/mpvue/issues/300","id":405480366,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNTQ4MDM2Ng==","user":{"login":"yy007668","id":23651886,"node_id":"MDQ6VXNlcjIzNjUxODg2","avatar_url":"https://avatars2.githubusercontent.com/u/23651886?v=4","gravatar_id":"","url":"https://api.github.com/users/yy007668","html_url":"https://github.com/yy007668","followers_url":"https://api.github.com/users/yy007668/followers","following_url":"https://api.github.com/users/yy007668/following{/other_user}","gists_url":"https://api.github.com/users/yy007668/gists{/gist_id}","starred_url":"https://api.github.com/users/yy007668/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yy007668/subscriptions","organizations_url":"https://api.github.com/users/yy007668/orgs","repos_url":"https://api.github.com/users/yy007668/repos","events_url":"https://api.github.com/users/yy007668/events{/privacy}","received_events_url":"https://api.github.com/users/yy007668/received_events","type":"User","site_admin":false},"created_at":"2018-07-17T07:00:07Z","updated_at":"2018-07-17T07:00:07Z","author_association":"NONE","body":"复议"}}
{"actor":{"display_login":"yy007668"}}