jyj 4 years ago
parent
commit
f02aae7aa7
1 changed files with 4 additions and 0 deletions
  1. 4 0
      lib/internal/bbs/page/tab/video/video_upload.dart

+ 4 - 0
lib/internal/bbs/page/tab/video/video_upload.dart

@@ -120,6 +120,10 @@ class VideoUploadState extends State<VideoUpload> {
           }else {
           }else {
             toasts("视频时长不能大于5分钟!");
             toasts("视频时长不能大于5分钟!");
           }
           }
+        }).catchError((error){
+          print(error);
+          print("error");
+          toasts("上传失败,不支持此格式");
         });}
         });}
       })
       })
       ;
       ;