未验证 提交 5724bc5b 编写于 作者: u012417071's avatar u012417071 提交者: GitHub

perf: set header can use For Qs (#562)

set header can use For Qs
上级 bf365e26
......@@ -155,7 +155,7 @@ export class VAxios {
// support form-data
supportFormData(config: AxiosRequestConfig) {
const headers = config.headers;
const headers = config.headers || this.options.headers;
const contentType = headers?.['Content-Type'] || headers?.['content-type'];
if (
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册