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(() => {