From 51247df4db641a0bc1259475bf97278b5ab029d8 Mon Sep 17 00:00:00 2001 From: WongBin Date: Sun, 18 Jul 2021 14:28:41 +0800 Subject: [PATCH] Update request.js --- report-ui/src/utils/request.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/report-ui/src/utils/request.js b/report-ui/src/utils/request.js index d31ab113..36846461 100644 --- a/report-ui/src/utils/request.js +++ b/report-ui/src/utils/request.js @@ -1,7 +1,6 @@ import axios from 'axios' import { Message, MessageBox } from 'element-ui' import store from '../store' -import { delItem } from "@/utils/storage" import { getToken } from '@/utils/auth' // 创建axios实例 const service = axios.create({ @@ -39,7 +38,6 @@ service.interceptors.response.use( type: 'warning' } ).then(() => { - delItem('token') sessionStorage.clear() localStorage.clear() window.location.href = "/";