mirror of https://github.com/halo-dev/halo
Fix login bug
parent
4e2d4ea3a3
commit
16cc1e22d3
|
@ -40,7 +40,7 @@ const user = {
|
||||||
},
|
},
|
||||||
actions: {
|
actions: {
|
||||||
loadUser({ commit }) {
|
loadUser({ commit }) {
|
||||||
return Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
userApi
|
userApi
|
||||||
.getProfile()
|
.getProfile()
|
||||||
.then(response => {
|
.then(response => {
|
||||||
|
|
Loading…
Reference in New Issue