From 899b66840ecca956179d5db705697748fe5359f6 Mon Sep 17 00:00:00 2001 From: Seven Date: Mon, 2 Feb 2026 15:11:10 +0700 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=A7=BB=E9=99=A4=E5=9B=BD=E5=AE=B6?= =?UTF-8?q?=E7=94=B5=E8=AF=9D=E4=BF=A1=E6=81=AF=E4=B8=AD=E7=9A=84=E5=8D=A0?= =?UTF-8?q?=E4=BD=8D=E7=AC=A6=EF=BC=8C=E6=9B=B4=E6=96=B0=E6=89=8B=E6=9C=BA?= =?UTF-8?q?=E5=8F=B7=E8=BE=93=E5=85=A5=E6=A1=86=E7=9A=84=E5=8D=A0=E4=BD=8D?= =?UTF-8?q?=E7=AC=A6=E6=96=87=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/auth/index.ts | 4 ---- src/auth/type.ts | 1 - src/views/auth/login/components/phone-number.vue | 2 +- 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/auth/index.ts b/src/auth/index.ts index e62811b..1410e61 100644 --- a/src/auth/index.ts +++ b/src/auth/index.ts @@ -41,7 +41,6 @@ export const countries: PhoneCountry[] = [ name: "中国大陆", pattern: /^1[3-9]\d{9}$/, maxLength: 11, - placeholder: "13800138000", icon: CircleFlagsZh, }, { @@ -50,7 +49,6 @@ export const countries: PhoneCountry[] = [ name: "中国香港", pattern: /^[5-9]\d{7}$/, maxLength: 8, - placeholder: "51234567", icon: CircleFlagsCnHk, }, { @@ -59,7 +57,6 @@ export const countries: PhoneCountry[] = [ name: "中国台湾", pattern: /^9\d{8}$/, maxLength: 9, - placeholder: "912345678", icon: CircleFlagsTw, }, { @@ -68,7 +65,6 @@ export const countries: PhoneCountry[] = [ name: "美国", pattern: /^\d{10}$/, maxLength: 10, - placeholder: "2025550123", icon: CircleFlagsEnUs, }, ]; diff --git a/src/auth/type.ts b/src/auth/type.ts index 903bb8b..24c8034 100644 --- a/src/auth/type.ts +++ b/src/auth/type.ts @@ -14,6 +14,5 @@ export interface PhoneCountry { name: string; pattern: RegExp; maxLength: number; - placeholder: string; icon: FunctionalComponent; } diff --git a/src/views/auth/login/components/phone-number.vue b/src/views/auth/login/components/phone-number.vue index ded95ca..8cf05dd 100644 --- a/src/views/auth/login/components/phone-number.vue +++ b/src/views/auth/login/components/phone-number.vue @@ -148,7 +148,7 @@ onUnmounted(() => {