lanjianrong 3 năm trước cách đây
mục cha
commit
df7f1d6a04
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/components/FileModal/index.tsx

+ 1 - 1
src/components/FileModal/index.tsx

@@ -103,7 +103,7 @@ export default function FileModal(props: iFileModalProps) {
 
       }
     } catch (error) {
-      message.error(error.toString())
+      error && message.error(error.toString())
     }
   }