diff --git a/frontend/src/api/index.ts b/frontend/src/api/index.ts index d19c2ec9a..98e9fa877 100644 --- a/frontend/src/api/index.ts +++ b/frontend/src/api/index.ts @@ -42,9 +42,6 @@ class RequestHttp { this.service.interceptors.response.use( (response: AxiosResponse) => { const { data } = response; - if (response.headers['x-csrf-token']) { - globalStore.setCsrfToken(response.headers['x-csrf-token']); - } if (data.code == ResultEnum.OVERDUE || data.code == ResultEnum.FORBIDDEN) { globalStore.setLogStatus(false); router.push({ diff --git a/frontend/src/layout/components/MobileHeader.vue b/frontend/src/layout/components/MobileHeader.vue index c929faa84..aded39f1e 100644 --- a/frontend/src/layout/components/MobileHeader.vue +++ b/frontend/src/layout/components/MobileHeader.vue @@ -1,5 +1,5 @@