Showing
1 changed file
with
1 additions
and
2 deletions
1 | import { FormSchema } from '/@/components/Table'; | 1 | import { FormSchema } from '/@/components/Table'; |
2 | -import { phoneRule, emailRule, chineseAndEnlishRule } from '/@/utils/rules'; | 2 | +import { phoneRule, emailRule } from '/@/utils/rules'; |
3 | 3 | ||
4 | export const formSchema: FormSchema[] = [ | 4 | export const formSchema: FormSchema[] = [ |
5 | { | 5 | { |
@@ -11,7 +11,6 @@ export const formSchema: FormSchema[] = [ | @@ -11,7 +11,6 @@ export const formSchema: FormSchema[] = [ | ||
11 | componentProps: { | 11 | componentProps: { |
12 | placeholder: '请输入用户昵称', | 12 | placeholder: '请输入用户昵称', |
13 | }, | 13 | }, |
14 | - rules: chineseAndEnlishRule, | ||
15 | }, | 14 | }, |
16 | { | 15 | { |
17 | field: 'phoneNumber', | 16 | field: 'phoneNumber', |