vuex统一命名风格:补充提交

This commit is contained in:
sfmind 2022-05-02 17:58:48 +08:00
parent a3defee272
commit 73f53861b2
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ module.exports = vm => {
return res.data
} else if(res.data.code === 401) {
//用户未登录或登录token已过期
vm.$store.commit('clearLoginInfo')
vm.$store.commit('CLEAR_LOGIN_INFO')
} else {
console.log(res)
//其他错误信息统一处理