File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
packages/components/common Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -6,9 +6,6 @@ export interface Styles {
66
77export type ImageEvent = any ;
88
9- /**
10- * 通用全局类型
11- * */
129export type PlainObject = { [ key : string ] : any } ;
1310
1411export type OptionData = {
@@ -19,15 +16,18 @@ export type OptionData = {
1916export type TreeOptionData < T = string | number > = {
2017 children ?: Array < TreeOptionData < T > > | boolean ;
2118 /** option label content */
22- label ?: string | TNode ;
19+ label ?: string ;
2320 /** option search text */
2421 text ?: string ;
2522 /** option value */
2623 value ?: T ;
2724 /** option node content */
28- content ?: string | TNode ;
25+ content ?: string ;
2926} & PlainObject ;
3027
28+ /**
29+ * 通用全局类型
30+ * */
3131export type SizeEnum = 'small' | 'medium' | 'large' ;
3232
3333export type ShapeEnum = 'circle' | 'round' ;
You can’t perform that action at this time.
0 commit comments