升级写法兼容

This commit is contained in:
2019-02-07 17:03:39 +08:00
parent ab3e337e60
commit e7423df44e
9 changed files with 90 additions and 45 deletions

View File

@ -56,7 +56,7 @@ export const actions = {
commit('setLeftDatas', datas)
} catch (err) {
console.log(err)
console.log(err && err.response && err.response.data)
}
}
}