From 6a793de86211bbf474c7f67d030d7b97ec2bff2c Mon Sep 17 00:00:00 2001 From: xjs Date: Wed, 10 Jun 2026 17:22:49 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=B0=8F=E6=A0=91?= =?UTF-8?q?=E7=82=B9=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages-sub/components/input/index.vue | 7 ++++++- src/pages-sub/talented/create/sportsFirst.vue | 4 ++-- src/pages-sub/talented/create/sportsSecond.vue | 8 ++++---- src/pages-sub/wishlist/create/second.vue | 2 +- 4 files changed, 13 insertions(+), 8 deletions(-) diff --git a/src/pages-sub/components/input/index.vue b/src/pages-sub/components/input/index.vue index 9397f40..21ae6ee 100644 --- a/src/pages-sub/components/input/index.vue +++ b/src/pages-sub/components/input/index.vue @@ -14,6 +14,7 @@ import type { InputType as UniInputType } from '@uni-helper/uni-app-types' // password, email - 其它常见类型 // Compose our input types from the project's InputType and add a couple extra platform-specific keys type _InputType = UniInputType | 'safe-password' | 'nickname' +type _InputInputMode = "text" | 'numeric' | 'decimal' const props = defineProps({ value: { @@ -39,6 +40,10 @@ const props = defineProps({ inputDirection: { type: String as PropType<'text-left' | 'text-right' | 'text-center'>, default: 'text-left' + }, + inputMode:{ + type: String as PropType<_InputInputMode>, + default: undefined } }) @@ -55,7 +60,7 @@ const innerValue = computed({