Browse Source

[Fix][UI Next][V1.0.0-Alpha] Fix the issue that user email doesn‘t pass verification (#8733)

jon-qj 3 years ago
parent
commit
c51f2e4a7c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dolphinscheduler-ui-next/src/utils/regex.ts

+ 1 - 1
dolphinscheduler-ui-next/src/utils/regex.ts

@@ -16,7 +16,7 @@
  */
 
 const regex = {
-  email: /^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/, // support Chinese mailbox
+  email: /^[A-Za-z0-9\u4e00-\u9fa5\.]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/, // support Chinese mailbox
   phone: /^1\d{10}$/,
   password: /^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{6,20}$/
 }