dever 4 years ago
parent
commit
97633dcab1
1 changed files with 4 additions and 2 deletions
  1. 4 2
      pages/dream/func/share.vue

+ 4 - 2
pages/dream/func/share.vue

@@ -344,14 +344,16 @@ export default {
 					width: 375,
 					height: 673,
 					quality : 1,
-					success: (res) => {
+					success: (res) => {
+						/*
 						if (res.tempFilePath.indexOf('base64')) {
 							base64ToPath(res.tempFilePath).then(path => {
 								this.finish(path, resolve);
 							});
 						} else {
 							this.finish(res.tempFilePath, resolve);
-						}
+						}*/
+						this.finish(res.tempFilePath, resolve);
 					},
 					fail: () => {
 						uni.hideLoading();