mirror of
https://github.com/YMFE/yapi.git
synced 2025-01-30 13:20:24 +08:00
fix: edit project basepath is empaty bug
This commit is contained in:
parent
a600e2b71e
commit
7abd0b8816
@ -39,7 +39,6 @@ export default (state = initialState, action) => {
|
||||
isLogin: true,
|
||||
loginState: MEMBER_STATUS,
|
||||
uid: action.payload.data.data.uid,
|
||||
role: action.payload.data.data.role,
|
||||
userName: action.payload.data.data.username,
|
||||
server_ip: action.payload.data.data.server_ip
|
||||
};
|
||||
@ -53,7 +52,6 @@ export default (state = initialState, action) => {
|
||||
isLogin: false,
|
||||
loginState: GUEST_STATUS,
|
||||
userName: null,
|
||||
role: null,
|
||||
uid: null
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user