@@ -1612,17 +1612,17 @@ export default {
success_action_status: 200,
},
success: (result) => {
- if (result.statusCode === 200) {
+ // if (result.statusCode === 200) {
self.ossAvatarUrl = ossToken.dir;
resolve();
- } else {
- uni.showToast({
- title: "上传失败",
- icon: "none",
- });
- this.openPhoto();
- return;
- }
+ // } else {
+ // uni.showToast({
+ // title: "上传失败",
+ // icon: "none",
+ // });
+ // this.openPhoto();
+ // return;
+ // }
fail: (error) => {
uni.showToast({