Skip to content

Commit

Permalink
fixed: Fixed an organization error after entering Settings under Glob…
Browse files Browse the repository at this point in the history
…al Organization manually
  • Loading branch information
ZhaoJiSen committed Dec 9, 2024
1 parent 66532f4 commit 0f5ed14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/store/modules/users.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const mutations = {
},
SET_CURRENT_ORG(state, org) {
// 系统组织和全局组织不设置成 Pre org
if (!state.currentOrg?.autoEnter && !state.currentOrg?.is_root) {
if (!state.currentOrg?.autoEnter) {
state.preOrg = state.currentOrg
setPreOrgLocal(state.username, state.currentOrg)
}
Expand Down

0 comments on commit 0f5ed14

Please sign in to comment.