提交 422c7207 编写于 作者: A afc163

fix falsy currentUser

上级 2fa5a265
......@@ -35,7 +35,7 @@ export default {
saveCurrentUser(state, action) {
return {
...state,
currentUser: action.payload,
currentUser: action.payload || {},
};
},
changeNotifyCount(state, action) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册