|
|
|
@ -37,7 +37,7 @@ _axios.interceptors.request.use( |
|
|
|
delEmpty(data); |
|
|
|
delEmpty(data); |
|
|
|
data.t = time; |
|
|
|
data.t = time; |
|
|
|
} |
|
|
|
} |
|
|
|
if (data != null && typeof data === "string") { |
|
|
|
if (data != null && typeof data === "string" && config?.headers) { |
|
|
|
config.headers["Content-Type"] = "text/plain;charset=UTF-8"; |
|
|
|
config.headers["Content-Type"] = "text/plain;charset=UTF-8"; |
|
|
|
} |
|
|
|
} |
|
|
|
return config; |
|
|
|
return config; |
|
|
|
|