Showing
1 changed file
with
3 additions
and
0 deletions
| @@ -34,6 +34,9 @@ Component({ | @@ -34,6 +34,9 @@ Component({ | ||
| 34 | console.log('saveFile.filePath',filePath) | 34 | console.log('saveFile.filePath',filePath) |
| 35 | wx.saveImageToPhotosAlbum({ | 35 | wx.saveImageToPhotosAlbum({ |
| 36 | filePath:filePath, | 36 | filePath:filePath, |
| 37 | + complete:res=>{ | ||
| 38 | + console.log(res,filePath) | ||
| 39 | + }, | ||
| 37 | success:res=>{ | 40 | success:res=>{ |
| 38 | util.toast('已保存到相册') | 41 | util.toast('已保存到相册') |
| 39 | }, | 42 | }, |
-
Please register or login to post a comment