bill 1 년 전
부모
커밋
5cc4af3464
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/system/shared/rules.ts

+ 1 - 1
src/views/system/shared/rules.ts

@@ -4,7 +4,7 @@ import type { Rule } from 'ant-design-vue/es/form'
 // export const phonePattern = /^1[3|4|5|7|8][0-9]\d{8}$/
 export const phonePattern = /^[\w\W]{5,}$/
 export const passwordPattern = /^[^\u4e00-\u9fa5]{1,16}$/
-export const namePattern = /^[\d|\w]{1,16}$/
+export const namePattern = /^[\d|\w]{1,160}$/
 
 export const phoneRule: Rule = {
   required: true,