Component does not have a method to handle event "tap”

[微信小程序]点击事件提示:Component does not have a method to handle event "tap“。

错误示例:

<view wx:for="{{list}}" wx:key="*this" bindtap="select(item.id)" class="question-option"></view>

正确示例:

<view wx:for="{{list}}" wx:key="*this" bindtap="select" data-value="{{item.id}} class="question-option"></view>

事件处理:

select:function(e){
  console.log(e.currentTarget.dataset.id);
}