Renxy %!s(int64=2) %!d(string=hai) anos
pai
achega
884d10ba30
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/components/FileViewer/index.js

+ 1 - 1
src/components/FileViewer/index.js

@@ -4,9 +4,9 @@ import { memo } from 'react';
 
 const FileViewerModal = ({ data, visible, onCancel, downloadFile }) => {
   const type = data?.url?.split('.')[data?.url?.split('.').length - 1];
-  console.log(data?.url, type);
   return (
     <Modal
+      destroyOnClose
       title="预览"
       open={visible}
       width={1000}