{"action":"created","issue":{"url":"https://api.github.com/repos/Meituan-Dianping/mpvue/issues/1127","repository_url":"https://api.github.com/repos/Meituan-Dianping/mpvue","labels_url":"https://api.github.com/repos/Meituan-Dianping/mpvue/issues/1127/labels{/name}","comments_url":"https://api.github.com/repos/Meituan-Dianping/mpvue/issues/1127/comments","events_url":"https://api.github.com/repos/Meituan-Dianping/mpvue/issues/1127/events","html_url":"https://github.com/Meituan-Dianping/mpvue/issues/1127","id":373762100,"node_id":"MDU6SXNzdWUzNzM3NjIxMDA=","number":1127,"title":"子组件this.$root.$mp.query 得到的是上次打开页面的值","user":{"login":"xiejun-net","id":12869626,"node_id":"MDQ6VXNlcjEyODY5NjI2","avatar_url":"https://avatars2.githubusercontent.com/u/12869626?v=4","gravatar_id":"","url":"https://api.github.com/users/xiejun-net","html_url":"https://github.com/xiejun-net","followers_url":"https://api.github.com/users/xiejun-net/followers","following_url":"https://api.github.com/users/xiejun-net/following{/other_user}","gists_url":"https://api.github.com/users/xiejun-net/gists{/gist_id}","starred_url":"https://api.github.com/users/xiejun-net/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiejun-net/subscriptions","organizations_url":"https://api.github.com/users/xiejun-net/orgs","repos_url":"https://api.github.com/users/xiejun-net/repos","events_url":"https://api.github.com/users/xiejun-net/events{/privacy}","received_events_url":"https://api.github.com/users/xiejun-net/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-10-25T03:48:07Z","updated_at":"2018-12-11T01:49:44Z","closed_at":null,"author_association":"NONE","body":"## 子组件this.$root.$mp.query 得到的是上次打开页面的值\r\n\r\n![image](https://user-images.githubusercontent.com/12869626/47474882-c4c21280-d84b-11e8-9d9b-254c54875044.png)\r\n\r\n下次打开页面的时候this.price的值不变\r\n"},"comment":{"url":"https://api.github.com/repos/Meituan-Dianping/mpvue/issues/comments/446042392","html_url":"https://github.com/Meituan-Dianping/mpvue/issues/1127#issuecomment-446042392","issue_url":"https://api.github.com/repos/Meituan-Dianping/mpvue/issues/1127","id":446042392,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NjA0MjM5Mg==","user":{"login":"YangQii","id":25470358,"node_id":"MDQ6VXNlcjI1NDcwMzU4","avatar_url":"https://avatars1.githubusercontent.com/u/25470358?v=4","gravatar_id":"","url":"https://api.github.com/users/YangQii","html_url":"https://github.com/YangQii","followers_url":"https://api.github.com/users/YangQii/followers","following_url":"https://api.github.com/users/YangQii/following{/other_user}","gists_url":"https://api.github.com/users/YangQii/gists{/gist_id}","starred_url":"https://api.github.com/users/YangQii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YangQii/subscriptions","organizations_url":"https://api.github.com/users/YangQii/orgs","repos_url":"https://api.github.com/users/YangQii/repos","events_url":"https://api.github.com/users/YangQii/events{/privacy}","received_events_url":"https://api.github.com/users/YangQii/received_events","type":"User","site_admin":false},"created_at":"2018-12-11T01:49:44Z","updated_at":"2018-12-11T01:49:44Z","author_association":"NONE","body":"> 不要直接跳转,使用 wx.redirectTo跳转,小程序本身就限制了跳转次数,你如果来回跳转,会叠加很多层\r\n\r\n其实我私信你问的就是这个问题，然后用下面这个 mpvue-page-factory 解决的"}}
{"actor":{"display_login":"YangQii"}}