优化微信登录修复

Signed-off-by: java110 <928255095@qq.com>
This commit is contained in:
java110 2025-06-24 08:03:50 +00:00 committed by Gitee
parent 33f6a9511d
commit 4aab09f440
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -124,9 +124,14 @@
});
},
saveOpenIdToOwner:function(){
let _wechatType = "1100";
// #ifdef MP-WEIXIN
_wechatType = "1000";
// #endif
refreshAppUserBindingOwnerOpenId(this,{
openId:this.openId,
communityId:this.communityId
communityId:this.communityId,
wechatType:_wechatType
}).then(_data=>{
wx.switchTab({
url: "/pages/index/index"