zhangyuhan 3 жил өмнө
parent
commit
8c251bbc70

+ 1 - 1
jydocs-pc/src/views/purchase/purchase.vue

@@ -170,7 +170,7 @@ export default {
       }
     },
     inputEvent () {
-      var regex = /^(0|\+?86|17951)?(13[0-9]|15[012356789]|17[013678]|18[0-9]|14[57])[0-9]{8}$/
+      var regex = /^1[3-9]\d{9}$/
       var bool = regex.test(this.tel)
       console.log(bool)
       if (this.tel === '') {