修改客服记录
This commit is contained in:
@@ -3,6 +3,7 @@ import { ElNotification, ElMessageBox, ElMessage } from 'element-plus';
|
||||
import sysConfig from "@/config";
|
||||
import tool from '@/utils/tool';
|
||||
import router from '@/router';
|
||||
import {closeSock} from "@/utils/websocket"
|
||||
|
||||
axios.defaults.baseURL = ''
|
||||
|
||||
@@ -52,7 +53,8 @@ axios.interceptors.response.use(
|
||||
done();
|
||||
},
|
||||
}).then(() => {
|
||||
// closeSock(true);
|
||||
closeSock(true);
|
||||
tool.data.clear();
|
||||
tool.cookie.remove("TOKEN");
|
||||
router.replace({ path: "/login" });
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user