瀏覽代碼

附件保存

zhaoxiaohai 3 年之前
父節點
當前提交
91df30f8d1
共有 1 個文件被更改,包括 7 次插入1 次删除
  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 {