赞
踩
<el-input oninput="value=value.replace(/[^\d.]/g, '').replace(/([0-9]+\.[0-9]{2})(.+)/g, '$1')" ></el-input>