v3.5.0 删除多余的代码

This commit is contained in:
YunaiV
2022-02-15 19:53:44 +08:00
parent 4f770b24a4
commit 30f160446e
2 changed files with 3 additions and 5 deletions

View File

@ -90,7 +90,7 @@ const user = {
// 获取用户信息
GetInfo({ commit, state }) {
return new Promise((resolve, reject) => {
getInfo(state.token).then(res => {
getInfo().then(res => {
// 没有 data 数据,赋予个默认值
if (!res) {
res = {