Commit 8ac6846c authored by youjie's avatar youjie

no message

parent 2f9fa999
......@@ -215,7 +215,7 @@
},
saveFileToPhone(tempFilePath) {
const platform = uni.getSystemInfoSync().platform;
// 微信小程序:使用 wx.saveImageToPhotosAlbum
// #ifdef MP-WEIXIN
wx.saveImageToPhotosAlbum({
filePath: tempFilePath,
success: (saveRes) => {
......@@ -227,6 +227,8 @@
console.error('保存错误', err);
}
});
// #endif
// uni.saveFile({
// tempFilePath: tempFilePath,
// success: (saveRes) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment