完成工程师排班、完成服务接口添加
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user