diff --git a/types/cascader.d.ts b/types/cascader.d.ts index ec2fb742f..6e9b548b3 100644 --- a/types/cascader.d.ts +++ b/types/cascader.d.ts @@ -6,11 +6,11 @@ import { AntdComponent } from './component'; import { VNode } from 'vue'; export interface CascaderOptionType { - value?: string; + value?: string | number; label?: any; disabled?: boolean; children?: any; - key?: string; + key?: string | number; } export interface ShowSearchType { @@ -70,9 +70,9 @@ export declare class Cascader extends AntdComponent { /** * initial selected value - * @type string[] + * @type Array */ - defaultValue: string[]; + defaultValue: Array; /** * Whether disabled select @@ -193,9 +193,9 @@ export declare class Cascader extends AntdComponent { /** * selected value - * @type string[] + * @type Array */ - value: string[]; + value: Array; /** * remove focus