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