From 32ebe84d704f32842fdc8b5b23038dccb67234ff Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期一, 18 三月 2024 18:25:16 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 Source/UBCS-WEB/src/util/validate.js |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Source/UBCS-WEB/src/util/validate.js b/Source/UBCS-WEB/src/util/validate.js
index a774710..fb407d8 100644
--- a/Source/UBCS-WEB/src/util/validate.js
+++ b/Source/UBCS-WEB/src/util/validate.js
@@ -179,7 +179,7 @@
     let result = true;
     let msg = '';
     var isPhone = /^0\d{2,3}-?\d{7,8}$/;
-    //澧炲姞134 鍑忓皯|1349[0-9]{7}锛屽鍔�181,澧炲姞145锛屽鍔�17[678]  
+    //澧炲姞134 鍑忓皯|1349[0-9]{7}锛屽鍔�181,澧炲姞145锛屽鍔�17[678]
     if (!validatenull(phone)) {
         if (phone.length == 11) {
             if (isPhone.test(phone)) {
@@ -233,6 +233,7 @@
 }
 /**
  * 鍒ゆ柇鏄惁涓虹┖
+ * 鍙互鍒ゆ柇鏁扮粍鍜屽璞� 濡傚垽鏂�"null"銆�"undefined"涔熶細杩斿洖鏄┖
  */
 export function validatenull(val) {
     if (typeof val == 'boolean') {
@@ -250,4 +251,4 @@
         return false;
     }
     return false;
-}
\ No newline at end of file
+}

--
Gitblit v1.9.3