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

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

@@ -102,8 +102,8 @@ export default function FileModal(props: iFileModalProps) {
         message.error("获取签名失败,请联系管理员")
 
       }
-    } catch (error) {
-      error && message.error(error.toString())
+    } catch (error: any) {
+      message.error(error)
     }
   }