Commit 73f53861b20a0819cccd3ee5d40227d497c19c4d

Authored by sfmind
1 parent a3defee2

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

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