jyj há 4 anos atrás
pai
commit
82bc6e4079

+ 4 - 0
lib/internal/bbs/page/interrogation_page.dart

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

+ 4 - 0
lib/internal/bbs/page/visit_page.dart

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

+ 4 - 0
lib/internal/wode/page/order_master/confirm_order.dart

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

+ 4 - 0
lib/internal/wode/page/order_master/punchin.dart

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

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

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