{"action":"created","issue":{"url":"https://api.github.com/repos/didi/cube-ui/issues/222","repository_url":"https://api.github.com/repos/didi/cube-ui","labels_url":"https://api.github.com/repos/didi/cube-ui/issues/222/labels{/name}","comments_url":"https://api.github.com/repos/didi/cube-ui/issues/222/comments","events_url":"https://api.github.com/repos/didi/cube-ui/issues/222/events","html_url":"https://github.com/didi/cube-ui/issues/222","id":328883235,"node_id":"MDU6SXNzdWUzMjg4ODMyMzU=","number":222,"title":"[New Feature] Swipe组件侧滑点击按钮是否能够传递自定义参数","user":{"login":"GodStream","id":23089466,"node_id":"MDQ6VXNlcjIzMDg5NDY2","avatar_url":"https://avatars3.githubusercontent.com/u/23089466?v=4","gravatar_id":"","url":"https://api.github.com/users/GodStream","html_url":"https://github.com/GodStream","followers_url":"https://api.github.com/users/GodStream/followers","following_url":"https://api.github.com/users/GodStream/following{/other_user}","gists_url":"https://api.github.com/users/GodStream/gists{/gist_id}","starred_url":"https://api.github.com/users/GodStream/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GodStream/subscriptions","organizations_url":"https://api.github.com/users/GodStream/orgs","repos_url":"https://api.github.com/users/GodStream/repos","events_url":"https://api.github.com/users/GodStream/events{/privacy}","received_events_url":"https://api.github.com/users/GodStream/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-04T01:40:55Z","updated_at":"2018-06-04T02:58:21Z","closed_at":null,"author_association":"NONE","body":"### What problem does this feature solve?\r\n目前btn-click事件回调只返回了按钮参数，列表索引。但是在实际需求中，是想要知道当前项的id值，并且还会想要传递跟多的参数进行判断，这样才能知道到底触发事件的是哪一项，仅仅只靠索引是不行的。\r\n\r\n### What does the proposed API look like?\r\n<cube-swipe-item @btn-click=\"onBtnClick(item)\">\r\n\r\n<!-- generated by cube-issue-helper. DO NOT REMOVE -->"},"comment":{"url":"https://api.github.com/repos/didi/cube-ui/issues/comments/394221716","html_url":"https://github.com/didi/cube-ui/issues/222#issuecomment-394221716","issue_url":"https://api.github.com/repos/didi/cube-ui/issues/222","id":394221716,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDIyMTcxNg==","user":{"login":"dolymood","id":2121554,"node_id":"MDQ6VXNlcjIxMjE1NTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/2121554?v=4","gravatar_id":"","url":"https://api.github.com/users/dolymood","html_url":"https://github.com/dolymood","followers_url":"https://api.github.com/users/dolymood/followers","following_url":"https://api.github.com/users/dolymood/following{/other_user}","gists_url":"https://api.github.com/users/dolymood/gists{/gist_id}","starred_url":"https://api.github.com/users/dolymood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dolymood/subscriptions","organizations_url":"https://api.github.com/users/dolymood/orgs","repos_url":"https://api.github.com/users/dolymood/repos","events_url":"https://api.github.com/users/dolymood/events{/privacy}","received_events_url":"https://api.github.com/users/dolymood/received_events","type":"User","site_admin":false},"created_at":"2018-06-04T02:58:20Z","updated_at":"2018-06-04T02:58:20Z","author_association":"MEMBER","body":"有了索引index就可以取到item选项了吧"}}
{"actor":{"display_login":"dolymood"}}