fix(users): remove phone validation

This commit is contained in:
xilesun 2024-09-06 22:40:18 +08:00
parent 17827c2c30
commit 03be3e7c77

View File

@ -69,7 +69,6 @@ export const userCollection = {
type: 'string',
title: '{{t("Phone")}}',
'x-component': 'Input',
'x-validator': 'phone',
required: true,
},
},
@ -213,7 +212,6 @@ export const usersSchema: ISchema = {
phone: {
title: '{{t("Phone")}}',
'x-component': 'Input',
'x-validator': 'phone',
'x-decorator': 'FormItem',
required: false,
},