修改监控流程详情
This commit is contained in:
@@ -46,13 +46,14 @@ instance.interceptors.response.use(function (response) {
|
||||
// 登录超时
|
||||
if (response.data.respCode === '401') {
|
||||
store.commit('saveUserInfo', null)
|
||||
store.commit('saveUserInfo', null)
|
||||
store.commit('savePathUrl', null)
|
||||
store.commit('saveMenuName', null)
|
||||
store.commit('saveMenuData', null)
|
||||
router.push('/login')
|
||||
Message.error('登录超时过期')
|
||||
//清除vuex
|
||||
this.$store.commit('saveUserInfo', null)
|
||||
this.$store.commit('savePathUrl', null)
|
||||
this.$store.commit('saveMenuName', null)
|
||||
this.$store.commit('saveMenuData', null)
|
||||
|
||||
// var url = 'http://192.168.144.22:9966/login?loginType=1'
|
||||
// // var url = 'http://10.64.23.30:7766/home'
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user