完成工程师排班、完成服务接口添加

This commit is contained in:
monanxiao
2024-10-14 18:00:22 +08:00
parent d657eaf56d
commit 975efc36e1
8 changed files with 374 additions and 226 deletions
+4
View File
@@ -30,6 +30,10 @@ service.interceptors.request.use(
config.headers["Content-Type"] = "application/json";
}
if (config.url === "/file") {
config.headers["Content-Type"] = "multipart/form-data";
}
let params = config.params;
let newData = {};
for (let key in params) {