|
@@ -78,9 +78,9 @@ axiosservice.interceptors.response.use(
|
|
|
},
|
|
|
function (err) {
|
|
|
if (err.response.status == 401) {
|
|
|
- this.$store.state.commit('SETISREQUESTtAUTH', 'err')
|
|
|
+ store.commit('SETISREQUESTtAUTH', 'err');
|
|
|
router.push({
|
|
|
- path: '/404',
|
|
|
+ path: '404',
|
|
|
})
|
|
|
}
|
|
|
return Promise.reject(err)
|