From 03be3e7c77755849d860e819784084e028a8dddd Mon Sep 17 00:00:00 2001 From: xilesun <2013xile@gmail.com> Date: Fri, 6 Sep 2024 22:40:18 +0800 Subject: [PATCH] fix(users): remove phone validation --- .../plugins/@nocobase/plugin-users/src/client/schemas/users.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/plugins/@nocobase/plugin-users/src/client/schemas/users.ts b/packages/plugins/@nocobase/plugin-users/src/client/schemas/users.ts index 9241c489f..629d9478d 100644 --- a/packages/plugins/@nocobase/plugin-users/src/client/schemas/users.ts +++ b/packages/plugins/@nocobase/plugin-users/src/client/schemas/users.ts @@ -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, },