diff --git a/packages/stepper/index.ts b/packages/stepper/index.ts index f762ae77..4b3dc85e 100644 --- a/packages/stepper/index.ts +++ b/packages/stepper/index.ts @@ -33,8 +33,8 @@ VantComponent({ observer: 'check', }, disabled: Boolean, - inputWidth: null, - buttonSize: null, + inputWidth: String, + buttonSize: String, asyncChange: Boolean, disableInput: Boolean, decimalLength: { diff --git a/packages/stepper/index.wxml b/packages/stepper/index.wxml index 95704208..eadee98c 100644 --- a/packages/stepper/index.wxml +++ b/packages/stepper/index.wxml @@ -1,10 +1,11 @@ +