完成3.0功能升级

This commit is contained in:
Gao xiaosong
2020-07-12 22:44:37 +08:00
parent 34565e6bf4
commit e8240a54a7
58 changed files with 1916 additions and 15048 deletions

View File

@ -106,7 +106,7 @@ const vuexStore = new Vuex.Store({
},
getUser({ state, commit }) {
return new Promise(reslove => {
getUser().then(res => {
getUserInfo().then(res => {
console.log(res)
commit("updateUserInfo", res.data);
reslove(res.data);