mirror of
https://gitee.com/java110/WechatOwnerService.git
synced 2026-02-24 05:46:04 +08:00
优化头像
This commit is contained in:
parent
1e9df425be
commit
987bab77cd
@ -135,12 +135,14 @@
|
|||||||
//#ifdef H5
|
//#ifdef H5
|
||||||
TanslateImage.translate(tempFilePaths, (_baseInfo) => {
|
TanslateImage.translate(tempFilePaths, (_baseInfo) => {
|
||||||
_that.headerImg = _baseInfo;
|
_that.headerImg = _baseInfo;
|
||||||
|
_that._uploadOwnerHeaderImg();
|
||||||
wx.hideLoading()
|
wx.hideLoading()
|
||||||
})
|
})
|
||||||
//#endif
|
//#endif
|
||||||
//#ifdef MP-WEIXIN
|
//#ifdef MP-WEIXIN
|
||||||
factory.base64.urlTobase64(tempFilePaths[0]).then(function(_baseInfo) {
|
factory.base64.urlTobase64(tempFilePaths[0]).then(function(_baseInfo) {
|
||||||
_that.headerImg = _baseInfo;
|
_that.headerImg = _baseInfo;
|
||||||
|
_that._uploadOwnerHeaderImg();
|
||||||
wx.hideLoading()
|
wx.hideLoading()
|
||||||
});
|
});
|
||||||
//#endif
|
//#endif
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user