Browse Source

附件保存

zhaoxiaohai 3 years ago
parent
commit
91df30f8d1
1 changed files with 7 additions and 1 deletions
  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 {