优化首页的下拉刷新、数据排序、绑定后刷新
This commit is contained in:
4
node_modules/axios/lib/helpers/toFormData.js
generated
vendored
4
node_modules/axios/lib/helpers/toFormData.js
generated
vendored
@ -120,6 +120,10 @@ function toFormData(obj, formData, options) {
|
||||
return value.toISOString();
|
||||
}
|
||||
|
||||
if (utils.isBoolean(value)) {
|
||||
return value.toString();
|
||||
}
|
||||
|
||||
if (!useBlob && utils.isBlob(value)) {
|
||||
throw new AxiosError('Blob is not supported. Use a Buffer instead.');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user