Commit 73f53861b20a0819cccd3ee5d40227d497c19c4d

Authored by sfmind
1 parent a3defee2

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

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