types(Cascader): fieldNames should be optional
This commit is contained in:
@@ -22,9 +22,9 @@ type CascaderTab = {
|
||||
};
|
||||
|
||||
type CascaderFieldNames = {
|
||||
text: string;
|
||||
value: string;
|
||||
children: string;
|
||||
text?: string;
|
||||
value?: string;
|
||||
children?: string;
|
||||
};
|
||||
|
||||
export default createComponent({
|
||||
|
||||
Reference in New Issue
Block a user