From deb569f39759e322274bc7265eccad1e634d8d44 Mon Sep 17 00:00:00 2001 From: fennghuang <89014758+fennghuang@users.noreply.github.com> Date: Wed, 27 Sep 2023 12:47:00 +0000 Subject: [PATCH] =?UTF-8?q?fix(stepper):=20stepper=E8=BE=93=E5=85=A5?= =?UTF-8?q?=E5=B0=8F=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/stepper/type.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/stepper/type.ts b/src/stepper/type.ts index d4d8762d8..4d55a58e5 100644 --- a/src/stepper/type.ts +++ b/src/stepper/type.ts @@ -21,6 +21,11 @@ export interface TdStepperProps { * 输入框宽度 */ inputWidth?: number; + /** + * 是否整数 + * @default true + */ + integer?: boolean; /** * 最大值 * @default 100