Browse Source

fix falsy currentUser

pull/1729/head
afc163 8 years ago
parent
commit
422c720713
  1. 2
      src/models/user.js

2
src/models/user.js

@ -35,7 +35,7 @@ export default {
saveCurrentUser(state, action) {
return {
...state,
currentUser: action.payload,
currentUser: action.payload || {},
};
},
changeNotifyCount(state, action) {

Loading…
Cancel
Save