文本框bindfocus事件BUG
直接上代码了:
<input bindfocus=“getstart” value="{{start}}" placeholder=“始发地” type=“text” />
getstart: function (e) {
var that = this
page = 1
wx.chooseLocation({
success: function (res) {
that.getList(that.data.date, res.name, that.data.over)
}
})
}
选择完地点之后,回到页面,点击任意位置bindfocus又会被触发一次,期望bindfocus不被触发