update ts
parent
bd298802e6
commit
799e0d4209
|
@ -6,11 +6,11 @@ import { AntdComponent } from './component';
|
||||||
import { VNode } from 'vue';
|
import { VNode } from 'vue';
|
||||||
|
|
||||||
export interface CascaderOptionType {
|
export interface CascaderOptionType {
|
||||||
value?: string;
|
value?: string | number;
|
||||||
label?: any;
|
label?: any;
|
||||||
disabled?: boolean;
|
disabled?: boolean;
|
||||||
children?: any;
|
children?: any;
|
||||||
key?: string;
|
key?: string | number;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ShowSearchType {
|
export interface ShowSearchType {
|
||||||
|
@ -70,9 +70,9 @@ export declare class Cascader extends AntdComponent {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* initial selected value
|
* initial selected value
|
||||||
* @type string[]
|
* @type Array<string | number>
|
||||||
*/
|
*/
|
||||||
defaultValue: string[];
|
defaultValue: Array<string | number>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Whether disabled select
|
* Whether disabled select
|
||||||
|
@ -193,9 +193,9 @@ export declare class Cascader extends AntdComponent {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* selected value
|
* selected value
|
||||||
* @type string[]
|
* @type Array<string | number>
|
||||||
*/
|
*/
|
||||||
value: string[];
|
value: Array<string | number>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* remove focus
|
* remove focus
|
||||||
|
|
Loading…
Reference in New Issue