From 460782dc8c4e135b0662c83c377d04e9c28f41fc Mon Sep 17 00:00:00 2001 From: "zhili.wzl" Date: Fri, 5 Nov 2021 16:16:01 +0800 Subject: [PATCH] chore(formily-setters): remove ip/qq format --- formily/setters/src/locales/en-US.ts | 3 --- formily/setters/src/locales/zh-CN.ts | 3 --- 2 files changed, 6 deletions(-) diff --git a/formily/setters/src/locales/en-US.ts b/formily/setters/src/locales/en-US.ts index 7604c1273..a75b02e2b 100644 --- a/formily/setters/src/locales/en-US.ts +++ b/formily/setters/src/locales/en-US.ts @@ -1,12 +1,9 @@ const ValidatorFormats = [ { label: 'URL', value: 'url' }, { label: 'Email', value: 'email' }, - { label: 'IPV6', value: 'ipv6' }, - { label: 'IPV4', value: 'ipv4' }, { label: 'Number', value: 'number' }, { label: 'Integer', value: 'integer' }, { label: 'ID', value: 'idcard' }, - { label: 'QQ', value: 'qq' }, { label: 'Phone Number', value: 'phone' }, { label: 'Currency', value: 'money' }, { label: 'Chinese', value: 'zh' }, diff --git a/formily/setters/src/locales/zh-CN.ts b/formily/setters/src/locales/zh-CN.ts index c36ddfe65..1a5dcda68 100644 --- a/formily/setters/src/locales/zh-CN.ts +++ b/formily/setters/src/locales/zh-CN.ts @@ -1,12 +1,9 @@ const ValidatorFormats = [ { label: 'URL地址', value: 'url' }, { label: '邮箱格式', value: 'email' }, - { label: 'IPV6格式', value: 'ipv6' }, - { label: 'IPV4格式', value: 'ipv4' }, { label: '数字格式', value: 'number' }, { label: '整数格式', value: 'integer' }, { label: '身份证格式', value: 'idcard' }, - { label: 'QQ号格式', value: 'qq' }, { label: '手机号格式', value: 'phone' }, { label: '货币格式', value: 'money' }, { label: '中文格式', value: 'zh' },