const addressReg = /^[a-zA-Z0-9_]$/
const address = value
if (!addressReg.test(address)) {
this.formInline.um = address.replace(/[^a-zA-Z0-9_]/g,'')
}
输入别的输不进去。可以自由搭配需要的限制条件
const addressReg = /^[a-zA-Z0-9_]$/
const address = value
if (!addressReg.test(address)) {
this.formInline.um = address.replace(/[^a-zA-Z0-9_]/g,'')
}
输入别的输不进去。可以自由搭配需要的限制条件