From d5ceb72365885c2c2bda701651c846372f0d45d5 Mon Sep 17 00:00:00 2001 From: CNine Date: Fri, 30 Apr 2021 14:50:32 +0800 Subject: [PATCH 1/2] fix CascadeSelectProp.optionGroupChildren type --- src/components/cascadeselect/CascadeSelect.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/cascadeselect/CascadeSelect.d.ts b/src/components/cascadeselect/CascadeSelect.d.ts index 29459e58e..a4fbb37c3 100644 --- a/src/components/cascadeselect/CascadeSelect.d.ts +++ b/src/components/cascadeselect/CascadeSelect.d.ts @@ -6,7 +6,7 @@ interface CascadeSelectProps { optionLabel?: string; optionValue?: any; optionGroupLabel?: string; - optionGroupChildren?: string; + optionGroupChildren?: string[]; placeholder?: string; disabled?: boolean; dataKey?: string; From 3fbd4e36ca26f2f0e0ac548ef75cb093339a66b9 Mon Sep 17 00:00:00 2001 From: CNine Date: Fri, 30 Apr 2021 14:55:54 +0800 Subject: [PATCH 2/2] fix CascadeSelectProp.optionGroupChildren doc type --- src/views/cascadeselect/CascadeSelectDoc.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/cascadeselect/CascadeSelectDoc.vue b/src/views/cascadeselect/CascadeSelectDoc.vue index bd887968c..a69bb6757 100644 --- a/src/views/cascadeselect/CascadeSelectDoc.vue +++ b/src/views/cascadeselect/CascadeSelectDoc.vue @@ -167,7 +167,7 @@ data() { optionGroupChildren - string + array null Property name or getter function to retrieve the items of a group. @@ -587,4 +587,4 @@ img { } } } - \ No newline at end of file +