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