lanjianrong 3 年 前
コミット
df7f1d6a04
1 ファイル変更1 行追加1 行削除
  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())
     }
   }