types(Cascader): fieldNames should be optional

This commit is contained in:
chenjiahan
2021-02-12 13:03:04 +08:00
parent ba69a212ba
commit 7e330109b3
3 changed files with 9 additions and 9 deletions
+3 -3
View File
@@ -22,9 +22,9 @@ type CascaderTab = {
};
type CascaderFieldNames = {
text: string;
value: string;
children: string;
text?: string;
value?: string;
children?: string;
};
export default createComponent({