代码:
οnkeyup="value=value.replace(/[^a-z|A-Z]/g,'').toUpperCase()"
示例:
<el-input
v-model="uid"
onkeyup="value=value.replace(/[^a-z|A-Z]/g,'').toUpperCase()"
placeholder="主键"
/>
代码:
οnkeyup="value=value.replace(/[^a-z|A-Z]/g,'').toUpperCase()"
示例:
<el-input
v-model="uid"
onkeyup="value=value.replace(/[^a-z|A-Z]/g,'').toUpperCase()"
placeholder="主键"
/>