{"action":"created","issue":{"url":"https://api.github.com/repos/Tencent/wepy/issues/1511","repository_url":"https://api.github.com/repos/Tencent/wepy","labels_url":"https://api.github.com/repos/Tencent/wepy/issues/1511/labels{/name}","comments_url":"https://api.github.com/repos/Tencent/wepy/issues/1511/comments","events_url":"https://api.github.com/repos/Tencent/wepy/issues/1511/events","html_url":"https://github.com/Tencent/wepy/issues/1511","id":334377825,"node_id":"MDU6SXNzdWUzMzQzNzc4MjU=","number":1511,"title":"如何隐藏一个view","user":{"login":"bzqadmin","id":34975211,"node_id":"MDQ6VXNlcjM0OTc1MjEx","avatar_url":"https://avatars1.githubusercontent.com/u/34975211?v=4","gravatar_id":"","url":"https://api.github.com/users/bzqadmin","html_url":"https://github.com/bzqadmin","followers_url":"https://api.github.com/users/bzqadmin/followers","following_url":"https://api.github.com/users/bzqadmin/following{/other_user}","gists_url":"https://api.github.com/users/bzqadmin/gists{/gist_id}","starred_url":"https://api.github.com/users/bzqadmin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bzqadmin/subscriptions","organizations_url":"https://api.github.com/users/bzqadmin/orgs","repos_url":"https://api.github.com/users/bzqadmin/repos","events_url":"https://api.github.com/users/bzqadmin/events{/privacy}","received_events_url":"https://api.github.com/users/bzqadmin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-21T07:53:05Z","updated_at":"2018-07-09T02:50:17Z","closed_at":null,"author_association":"NONE","body":"\r\n` <view class=\"item weui-uploader__input-box\" hidden=\"{{hideAddPic}}\" >`\r\n在data中设置hideAddPic=false,\r\n在程序逻辑中设置hideAddPic=true，但是页面中相应的view没有隐藏，用不用this.$apply()都不行\r\n请问是不是隐藏不用这个思路啊？我用原生代码开发是可以的。"},"comment":{"url":"https://api.github.com/repos/Tencent/wepy/issues/comments/403345152","html_url":"https://github.com/Tencent/wepy/issues/1511#issuecomment-403345152","issue_url":"https://api.github.com/repos/Tencent/wepy/issues/1511","id":403345152,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzM0NTE1Mg==","user":{"login":"Gcaufy","id":2182004,"node_id":"MDQ6VXNlcjIxODIwMDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/2182004?v=4","gravatar_id":"","url":"https://api.github.com/users/Gcaufy","html_url":"https://github.com/Gcaufy","followers_url":"https://api.github.com/users/Gcaufy/followers","following_url":"https://api.github.com/users/Gcaufy/following{/other_user}","gists_url":"https://api.github.com/users/Gcaufy/gists{/gist_id}","starred_url":"https://api.github.com/users/Gcaufy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gcaufy/subscriptions","organizations_url":"https://api.github.com/users/Gcaufy/orgs","repos_url":"https://api.github.com/users/Gcaufy/repos","events_url":"https://api.github.com/users/Gcaufy/events{/privacy}","received_events_url":"https://api.github.com/users/Gcaufy/received_events","type":"User","site_admin":false},"created_at":"2018-07-09T02:50:17Z","updated_at":"2018-07-09T02:50:17Z","author_association":"COLLABORATOR","body":"hideAddPic=true  换成 hideAddPic=1 和 0 去试试，\r\n我记得我以前碰到过 hidden 在处理 true/false 时 处理成了 'true'/'false' 的问题"}}
{"actor":{"display_login":"Gcaufy"}}