From d8bdb390e793ad8f4723742e0fa1520cfc1c913a Mon Sep 17 00:00:00 2001 From: vcc0827 Date: Tue, 3 Sep 2024 14:54:04 +0800 Subject: [PATCH] fix(field): update field Props to fix wechat warning --- packages/field/input.wxml | 1 - packages/field/props.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/packages/field/input.wxml b/packages/field/input.wxml index 86b288b9b..890fb6e47 100644 --- a/packages/field/input.wxml +++ b/packages/field/input.wxml @@ -6,7 +6,6 @@ focus="{{ focus }}" cursor="{{ cursor }}" value="{{ innerValue }}" - auto-focus="{{ autoFocus }}" disabled="{{ disabled || readonly }}" maxlength="{{ maxlength }}" placeholder="{{ placeholder }}" diff --git a/packages/field/props.ts b/packages/field/props.ts index f85d6aa60..e556c912a 100644 --- a/packages/field/props.ts +++ b/packages/field/props.ts @@ -12,7 +12,6 @@ export const commonProps: WechatMiniprogram.Component.PropertyOption = { type: Number, value: 50, }, - autoFocus: Boolean, focus: Boolean, cursor: { type: Number,