修改客服记录

This commit is contained in:
龙运模
2024-11-16 13:38:45 +08:00
parent 8ea101637e
commit ecb2bd247f
10 changed files with 538 additions and 21 deletions
+3 -1
View File
@@ -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" });
})