From bbaed93f93bdea3fc938afc43517c8af4c79a9a7 Mon Sep 17 00:00:00 2001 From: haoziqaq <357229046@qq.com> Date: Fri, 15 Jan 2021 15:03:33 +0800 Subject: [PATCH] =?UTF-8?q?fix(ui/input):=20input=20=E9=BB=98=E8=AE=A4trig?= =?UTF-8?q?ger=E6=96=B9=E5=BC=8F=E4=BF=AE=E6=94=B9=E4=B8=BA=20onInput=20on?= =?UTF-8?q?Clear?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit affects: @varlet/ui --- packages/varlet-ui/src/input/props.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/varlet-ui/src/input/props.ts b/packages/varlet-ui/src/input/props.ts index ab7d236c138..a0d365fdee3 100644 --- a/packages/varlet-ui/src/input/props.ts +++ b/packages/varlet-ui/src/input/props.ts @@ -67,7 +67,7 @@ export const props = { }, validateTrigger: { type: Array as PropType>, - default: ['onInput'] + default: ['onInput', 'onClear'] }, rules: { type: Array as PropType any>>