视频会议上传文件

This commit is contained in:
gyj
2024-04-08 16:23:29 +08:00
parent c098116879
commit a551f33a6e
1272 changed files with 84366 additions and 63430 deletions
+1
View File
@@ -13,6 +13,7 @@ const server = axios.create({
server.interceptors.request.use(config => {
// config包含了请求相关的所有信息
// 可以同过config对象给请求配置或者修改信息
config.headers.Authorization = sessionStorage.getItem('token');
return config // 将配置完成的token返回 如果不返回 请求不会继续进行
}, err => {
// 请求发生错误时的回调函数