From 91ed403500b098702868f01f8f064edad04d1ce3 Mon Sep 17 00:00:00 2001 From: betavs Date: Thu, 1 Feb 2024 10:12:35 +0800 Subject: [PATCH] docs(color-picker): parameter field in emit change event is incorrect --- components/lib/colorpicker/ColorPicker.d.ts | 2 +- doc/common/apidoc/index.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/lib/colorpicker/ColorPicker.d.ts b/components/lib/colorpicker/ColorPicker.d.ts index 6211fc4eb..387f4e0f5 100755 --- a/components/lib/colorpicker/ColorPicker.d.ts +++ b/components/lib/colorpicker/ColorPicker.d.ts @@ -54,7 +54,7 @@ export interface ColorPickerChangeEvent { /** * Browser event */ - originalEvent: Event; + event: Event; /** * Selected color value. */ diff --git a/doc/common/apidoc/index.json b/doc/common/apidoc/index.json index feb4701cf..f69de9782 100644 --- a/doc/common/apidoc/index.json +++ b/doc/common/apidoc/index.json @@ -12429,7 +12429,7 @@ "relatedProp": "ColorPickerEmits.change", "props": [ { - "name": "originalEvent", + "name": "event", "optional": false, "readonly": false, "type": "Event", @@ -60011,4 +60011,4 @@ } } } -} \ No newline at end of file +}