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,