|
|
@@ -140,7 +140,7 @@
|
|
|
this.submit()
|
|
|
},
|
|
|
async submit(){
|
|
|
- if(this.avatarUrl!=this.userInfo.avatar){
|
|
|
+ if(this.avatarUrl!=this.$method.splitImgHost(this.userInfo.avatar)){
|
|
|
const waitYS = await this.imageInfos();
|
|
|
}
|
|
|
this.updateInfo()
|
|
|
@@ -157,7 +157,6 @@
|
|
|
count: 1, //默认9
|
|
|
sizeType: [ 'compressed'], //可以指定是原图还是压缩图,默认二者都有
|
|
|
success: function (res) {
|
|
|
- console.log(that.avatarUrl,999)
|
|
|
that.avatarUrl = res.tempFilePaths[0]
|
|
|
}
|
|
|
});
|