手機號碼驗證

<input type="text" placeholder="請填寫手機號" v-model="phone" maxlength="11" onkeyup="value=value.replace(/[^\d]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\
相關文章
相關標籤/搜索