优化头像

This commit is contained in:
java110 2022-08-31 15:55:53 +08:00
parent 1e9df425be
commit 987bab77cd

View File

@ -135,12 +135,14 @@
//#ifdef H5
TanslateImage.translate(tempFilePaths, (_baseInfo) => {
_that.headerImg = _baseInfo;
_that._uploadOwnerHeaderImg();
wx.hideLoading()
})
//#endif
//#ifdef MP-WEIXIN
factory.base64.urlTobase64(tempFilePaths[0]).then(function(_baseInfo) {
_that.headerImg = _baseInfo;
_that._uploadOwnerHeaderImg();
wx.hideLoading()
});
//#endif