Procházet zdrojové kódy

fix: [Select] Fix the problem that restTagsPopoverProps in select is not set as an optional parameter, causing ts to report an error

zhangyumei.0319 před 3 roky
rodič
revize
249073f1d6
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      packages/semi-ui/select/index.tsx

+ 1 - 1
packages/semi-ui/select/index.tsx

@@ -154,7 +154,7 @@ export type SelectProps = {
     children?: React.ReactNode;
     preventScroll?: boolean;
     showRestTagsPopover?: boolean;
-    restTagsPopoverProps: PopoverProps
+    restTagsPopoverProps?: PopoverProps
 } & Pick<
 TooltipProps,
 | 'spacing'