优化登陆

This commit is contained in:
wuxw 2025-04-10 10:55:06 +08:00
parent 83f051ef39
commit 1ef98b600d

View File

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