|
@@ -55,9 +55,9 @@ service.interceptors.response.use(
|
|
|
duration: 3 * 1000
|
|
|
});
|
|
|
|
|
|
- store.dispatch('user/resetSessionID').then(() => {
|
|
|
- window.location.href = '/';
|
|
|
- });
|
|
|
+ // store.dispatch('user/resetSessionID').then(() => {
|
|
|
+ // window.location.href = '/';
|
|
|
+ // });
|
|
|
|
|
|
return Promise.reject(new Error(res.error || 'Error'));
|
|
|
}
|