mirror of
https://github.com/PlayEdu/frontend.git
synced 2025-07-18 00:19:42 +08:00
修改密码组件
This commit is contained in:
parent
6021adf463
commit
51b3a33990
@ -8,7 +8,7 @@ type UserStoreInterface = {
|
||||
|
||||
let defaultValue: UserStoreInterface = {
|
||||
user: null,
|
||||
departments: null,
|
||||
departments: [],
|
||||
isLogin: false,
|
||||
};
|
||||
|
||||
@ -25,7 +25,7 @@ const loginUserSlice = createSlice({
|
||||
},
|
||||
logoutAction(stage) {
|
||||
stage.value.user = null;
|
||||
stage.value.departments = null;
|
||||
stage.value.departments = [];
|
||||
stage.value.isLogin = false;
|
||||
},
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user