<el-form-item label="费率" prop="rate">
<el-input @input="handleInput" v-model.number="ruleForm.rate" clearable></el-input>
vue输入框只允许输入数字并保留4位小数
最新推荐文章于 2024-07-31 09:38:11 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)
<el-form-item label="费率" prop="rate">
<el-input @input="handleInput" v-model.number="ruleForm.rate" clearable></el-input>