Commit 2f9fa999 authored by youjie's avatar youjie

no message

parent 06b394af
...@@ -215,7 +215,6 @@ ...@@ -215,7 +215,6 @@
}, },
saveFileToPhone(tempFilePath) { saveFileToPhone(tempFilePath) {
const platform = uni.getSystemInfoSync().platform; const platform = uni.getSystemInfoSync().platform;
if (platform === 'mp-weixin'||platform === 'devtools') {
// 微信小程序:使用 wx.saveImageToPhotosAlbum // 微信小程序:使用 wx.saveImageToPhotosAlbum
wx.saveImageToPhotosAlbum({ wx.saveImageToPhotosAlbum({
filePath: tempFilePath, filePath: tempFilePath,
...@@ -228,7 +227,6 @@ ...@@ -228,7 +227,6 @@
console.error('保存错误', err); console.error('保存错误', err);
} }
}); });
}
// uni.saveFile({ // uni.saveFile({
// tempFilePath: tempFilePath, // tempFilePath: tempFilePath,
// success: (saveRes) => { // 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