diff --git a/report-ui/src/api/upload.js b/report-ui/src/api/upload.js index 192e7e2f..0bb4d08d 100644 --- a/report-ui/src/api/upload.js +++ b/report-ui/src/api/upload.js @@ -1,6 +1,6 @@ import axios from 'axios'; import { Message, MessageBox } from 'element-ui'; -import { setItem, getItem, delItem } from '@/utils/storage'; +import { delItem } from '@/utils/storage'; axios.defaults.baseURL = process.env.BASE_API // axios.defaults.baseURL = 'http://10.108.12.23:8080' // 德明本地 @@ -33,7 +33,6 @@ service.interceptors.response.use( console.log(1) sessionStorage.clear(); localStorage.clear(); - delItem('token') // location.reload(); window.location.href = "/"; }).catch(err => {