瀏覽代碼

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

zhangyumei.0319 3 年之前
父節點
當前提交
249073f1d6
共有 1 個文件被更改,包括 1 次插入1 次删除
  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'