Merge pull request #4468 from dataease/pr@dev_memory_component

Pr@dev memory component
This commit is contained in:
maninhill 2023-02-06 22:04:37 +08:00 committed by GitHub
commit 835c67d2fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -413,6 +413,10 @@ export default {
}
},
phoneRegex(rule, value, callback) {
if (!value || !`${value}`.trim()) {
callback()
return
}
const regep = new RegExp(/^1[3-9]\d{9}$/)
if (!regep.test(value)) {