zhaoxiaohai 3 gadi atpakaļ
vecāks
revīzija
91df30f8d1
1 mainītis faili ar 7 papildinājumiem un 1 dzēšanām
  1. 7 1
      components/My_accessory/index.js

+ 7 - 1
components/My_accessory/index.js

@@ -68,10 +68,16 @@ Component({
                                 icon: "none"
                             })
                         }
+                    },
+                    fail() {
+                        wx.showToast({
+                            title: '文件下载失败',
+                            icon: "none"
+                        })
                     }
                 })
 
-            }
+            };
         },
         callback(e) {
             const {