fix: fix getUserInfo by cookie bug

This commit is contained in:
Pan
2017-10-25 17:12:36 +08:00
parent 87a44ae7f5
commit 76f4017470
3 changed files with 6 additions and 1 deletions

View File

@@ -34,7 +34,7 @@ export default {
if (userMap[token]) {
return userMap[token]
} else {
return Promise.reject('error')
return false
}
},
logout: () => 'success'