不知道是不是bug
https://developers.weixin.qq.com/miniprogram/dev/api/base/app/app-event/wx.onPageNotFound.html
input监听事件 bindinput在基础库是2.9.3中监听不了事件
代码:
wxml:<input class=“text-input” type=‘number’ placeholder=“0.00” bindinput=‘replaceInput’ />
js:
replaceInput(e) {
let value = e.target.value
return {
value: util.formatMoney(value)
}
},