@ -69,9 +69,7 @@ service.interceptors.response.use(
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
store.dispatch('user/resetToken').then(() => {
location.reload()
})
store.commit('user/RESET_STATE')
}
return Promise.reject(new Error(res.msg || 'Error'))