Browse Source

chore: ts-ignore

代强 2 năm trước cách đây
mục cha
commit
fd35c35127
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      packages/semi-ui/modal/confirm.tsx

+ 2 - 0
packages/semi-ui/modal/confirm.tsx

@@ -37,7 +37,9 @@ export default function confirm<T>(props: ConfirmProps) {
 
     function render(renderProps: ConfirmProps) {
         const { afterClose } = renderProps;
+        //@ts-ignore
         ReactDOM.render(<ConfirmModal {...renderProps} afterClose={(...args:any)=>{
+            //@ts-ignore
             afterClose?.(...args);
             destroy();
         }} motion={props.motion}/>, div);