隨手記:el-input 限制輸入正整數(shù),el-input中加入 onkeypress="return (/[\d]/.test(String.fromCharCode(event.keyCode)))"