<el-input oninput="value=value.replace(/[^\d]/g,'')" v-model="formData.cellPhoneNumber" placeholder="请输入"></el-input>
//加入
oninput="value=value.replace(/[^\d]/g,'')"
//即可
<el-input oninput="value=value.replace(/[^\d]/g,'')" v-model="formData.cellPhoneNumber" placeholder="请输入"></el-input>
//加入
oninput="value=value.replace(/[^\d]/g,'')"
//即可