Commit c03f6a67d29358be42028a8e423344f671194b87

Authored by 李婷
1 parent 15230d90

feat: 传出extract

@@ -52,6 +52,7 @@ const DropdownContent = React.forwardRef<any, DropdownContentProps>( @@ -52,6 +52,7 @@ const DropdownContent = React.forwardRef<any, DropdownContentProps>(
52 options?.map((opt) => ({ 52 options?.map((opt) => ({
53 label: opt[fieldLabel], 53 label: opt[fieldLabel],
54 key: opt[fieldValue], 54 key: opt[fieldValue],
  55 + ...(opt['extract']? {extract: opt['extract']}: {})
55 })), 56 })),
56 [options], 57 [options],
57 ); 58 );