优化代码

This commit is contained in:
wuxw 2023-10-16 16:52:26 +08:00
parent 3725ca0005
commit e2a01d8b31

View File

@ -126,7 +126,7 @@
} }
}, },
_doRegister: function(e) { _doRegister: function(e) {
let _communityId = un.getStorageSync("DEFAULT_COMMUNITY_ID") let _communityId = uni.getStorageSync("DEFAULT_COMMUNITY_ID")
if(!_communityId){ if(!_communityId){
_communityId = conf.DEFAULT_COMMUNITY_ID; _communityId = conf.DEFAULT_COMMUNITY_ID;
} }