wxml
< input placeholder = "0.00" style = "text-align:right" type = "digit" value = "{{money}}" bindinput = "bindTotalAmtInput" /> |
js
bindTotalAmtInput: function (e) { this .setData({ money: e.detail.value }) }, |
bug触发条件:
页面input控件右对齐,绑定同步事件,输入数字,input样式变成了默认左对齐
遇到了同样的问题