mirror of
https://github.com/YMFE/yapi.git
synced 2025-01-06 12:45:22 +08:00
fix: login的reducer文件正确返回
This commit is contained in:
parent
8b1f37077b
commit
2ea2eab379
@ -38,7 +38,7 @@ export default (state = initialState, action) => {
|
||||
userName: action.payload.data.data.username
|
||||
};
|
||||
} else {
|
||||
break;
|
||||
return state;
|
||||
}
|
||||
}
|
||||
case LOGIN_OUT: {
|
||||
|
@ -38,7 +38,7 @@ export default (state = initialState, action) => {
|
||||
userName: action.payload.data.data.username
|
||||
};
|
||||
} else {
|
||||
break;
|
||||
return state;
|
||||
}
|
||||
}
|
||||
case LOGIN_OUT: {
|
||||
|
Loading…
Reference in New Issue
Block a user