{"action":"created","issue":{"url":"https://api.github.com/repos/wepyjs/wepy/issues/524","repository_url":"https://api.github.com/repos/wepyjs/wepy","labels_url":"https://api.github.com/repos/wepyjs/wepy/issues/524/labels{/name}","comments_url":"https://api.github.com/repos/wepyjs/wepy/issues/524/comments","events_url":"https://api.github.com/repos/wepyjs/wepy/issues/524/events","html_url":"https://github.com/wepyjs/wepy/issues/524","id":273217064,"number":524,"title":"props传递到子组件里面的值，当更改后不会再次传入子组件；","user":{"login":"minhuang0","id":9191270,"avatar_url":"https://avatars0.githubusercontent.com/u/9191270?v=4","gravatar_id":"","url":"https://api.github.com/users/minhuang0","html_url":"https://github.com/minhuang0","followers_url":"https://api.github.com/users/minhuang0/followers","following_url":"https://api.github.com/users/minhuang0/following{/other_user}","gists_url":"https://api.github.com/users/minhuang0/gists{/gist_id}","starred_url":"https://api.github.com/users/minhuang0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minhuang0/subscriptions","organizations_url":"https://api.github.com/users/minhuang0/orgs","repos_url":"https://api.github.com/users/minhuang0/repos","events_url":"https://api.github.com/users/minhuang0/events{/privacy}","received_events_url":"https://api.github.com/users/minhuang0/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-11-12T09:57:10Z","updated_at":"2017-11-22T04:24:58Z","closed_at":null,"author_association":"NONE","body":"```\r\n// \bparent:\r\n<component :num=num @changenum=\"changenum\"></component>\r\n{\r\n    data = {\r\n        num: 0;\r\n    },\r\n     methods = {\r\n        changenum (num) {\r\n             this.num = num;\r\n        }\r\n    }\r\n}\r\n// child:\r\n<button @tab=\"tab\"></button>\r\n{\r\n     methods = {\r\n         tab () {\r\n           this.$emit('changenum', 1); \r\n        }\r\n     }\r\n}\r\n```\r\n此时调用时间changenum后，通过watcher对num监听, 子组件里面第传进来的num并没有改变，一直是第一次传递的结果；"},"comment":{"url":"https://api.github.com/repos/wepyjs/wepy/issues/comments/346239830","html_url":"https://github.com/wepyjs/wepy/issues/524#issuecomment-346239830","issue_url":"https://api.github.com/repos/wepyjs/wepy/issues/524","id":346239830,"user":{"login":"HP-Ekrn","id":9191734,"avatar_url":"https://avatars1.githubusercontent.com/u/9191734?v=4","gravatar_id":"","url":"https://api.github.com/users/HP-Ekrn","html_url":"https://github.com/HP-Ekrn","followers_url":"https://api.github.com/users/HP-Ekrn/followers","following_url":"https://api.github.com/users/HP-Ekrn/following{/other_user}","gists_url":"https://api.github.com/users/HP-Ekrn/gists{/gist_id}","starred_url":"https://api.github.com/users/HP-Ekrn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HP-Ekrn/subscriptions","organizations_url":"https://api.github.com/users/HP-Ekrn/orgs","repos_url":"https://api.github.com/users/HP-Ekrn/repos","events_url":"https://api.github.com/users/HP-Ekrn/events{/privacy}","received_events_url":"https://api.github.com/users/HP-Ekrn/received_events","type":"User","site_admin":false},"created_at":"2017-11-22T04:24:58Z","updated_at":"2017-11-22T04:24:58Z","author_association":"NONE","body":"我的加了sync也没用啊 "}}
{"actor":{"display_login":"HP-Ekrn"}}