Browse Source

特殊字符#

wfg 7 tháng trước cách đây
mục cha
commit
c49ce64b2f
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/util/date.js

+ 2 - 2
src/util/date.js

@@ -216,6 +216,6 @@ function addZero(num) {
 }
 
 export function verifyEnglish(str) {
-  const regex = /^[A-Za-z0-9\n .,!?:()|/+-_;'"$&@%*]+$/;
+  const regex = /^[A-Za-z0-9\n .,!?:()|/+-_;'"$&@%*#]+$/;
   return regex.test(str?str:null);
-}
+}