mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-11-12 20:23:52 +08:00
发布v2.8.4版本,更新内容请查看:https://github.com/bufanyun/hotgo/tree/v2.0/docs/guide-zh-CN/addon-version-upgrade.md
This commit is contained in:
@@ -226,11 +226,11 @@ export const useUserStore = defineStore({
|
||||
return false;
|
||||
}
|
||||
|
||||
if (this.loginConfig?.loginAutoOpenId !== 1) {
|
||||
if (this.loginConfig !== null && this.loginConfig.loginAutoOpenId !== 1) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return this.info?.openId === '';
|
||||
return this.info === null || this.info.openId === '';
|
||||
},
|
||||
// 登出
|
||||
async logout() {
|
||||
|
||||
Reference in New Issue
Block a user