{"action":"created","issue":{"url":"https://api.github.com/repos/saltjs/salt-ui/issues/12","repository_url":"https://api.github.com/repos/saltjs/salt-ui","labels_url":"https://api.github.com/repos/saltjs/salt-ui/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/saltjs/salt-ui/issues/12/comments","events_url":"https://api.github.com/repos/saltjs/salt-ui/issues/12/events","html_url":"https://github.com/saltjs/salt-ui/issues/12","id":176794667,"number":12,"title":"多次更新List的data后， isDelete 失效！","user":{"login":"wflashy","id":2329159,"avatar_url":"https://avatars.githubusercontent.com/u/2329159?v=3","gravatar_id":"","url":"https://api.github.com/users/wflashy","html_url":"https://github.com/wflashy","followers_url":"https://api.github.com/users/wflashy/followers","following_url":"https://api.github.com/users/wflashy/following{/other_user}","gists_url":"https://api.github.com/users/wflashy/gists{/gist_id}","starred_url":"https://api.github.com/users/wflashy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wflashy/subscriptions","organizations_url":"https://api.github.com/users/wflashy/orgs","repos_url":"https://api.github.com/users/wflashy/repos","events_url":"https://api.github.com/users/wflashy/events{/privacy}","received_events_url":"https://api.github.com/users/wflashy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-14T01:51:52Z","updated_at":"2016-10-28T09:06:21Z","closed_at":null,"body":"代码如下：\r\nlet t = this;\r\norders.map(function(litem){\r\n                            return(<List\r\n                                layout=\"left\"\r\n                                hasRightIcon={true}\r\n                                iconName=\"angle-right\"\r\n                                iconWidth={20}\r\n                                isDelete={true}\r\n                                demoTitle={litem.poRegdate}\r\n                                onClick={t.handleListClick.bind(t)}\r\n                                data={litem.data}/>);\r\n  })\r\n当我第一次更新orders，isDelte正常，第二更新orders，isDelte失效！"},"comment":{"url":"https://api.github.com/repos/saltjs/salt-ui/issues/comments/256872357","html_url":"https://github.com/saltjs/salt-ui/issues/12#issuecomment-256872357","issue_url":"https://api.github.com/repos/saltjs/salt-ui/issues/12","id":256872357,"user":{"login":"YJTanK","id":14228016,"avatar_url":"https://avatars.githubusercontent.com/u/14228016?v=3","gravatar_id":"","url":"https://api.github.com/users/YJTanK","html_url":"https://github.com/YJTanK","followers_url":"https://api.github.com/users/YJTanK/followers","following_url":"https://api.github.com/users/YJTanK/following{/other_user}","gists_url":"https://api.github.com/users/YJTanK/gists{/gist_id}","starred_url":"https://api.github.com/users/YJTanK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YJTanK/subscriptions","organizations_url":"https://api.github.com/users/YJTanK/orgs","repos_url":"https://api.github.com/users/YJTanK/repos","events_url":"https://api.github.com/users/YJTanK/events{/privacy}","received_events_url":"https://api.github.com/users/YJTanK/received_events","type":"User","site_admin":false},"created_at":"2016-10-28T09:06:21Z","updated_at":"2016-10-28T09:06:21Z","body":"i found same issue when i use `this.setState` to re-render list, the delete function is unavailable"}}
{"actor":{"display_login":"YJTanK"}}