mirror of
https://github.com/PlayEdu/frontend.git
synced 2025-11-19 02:17:45 +08:00
修改密码组件
This commit is contained in:
@@ -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;
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user