forked from github/dataease
Merge pull request #4468 from dataease/pr@dev_memory_component
Pr@dev memory component
This commit is contained in:
commit
835c67d2fe
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user