<el-button type="primary"
oninput="value = value.replace(/^\.+|[^\d.]/g,'')"
>111
</el-button>
用onkeyup事件会出bug,
<el-button type="primary"
oninput="value = value.replace(/^\.+|[^\d.]/g,'')"
>111
</el-button>
用onkeyup事件会出bug,