@base-web-kits/base-tools-web 1.2.4 → 1.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2157,12 +2157,12 @@ var baseToolsWeb = (() => {
2157
2157
  }
2158
2158
  xhr.timeout = timeout2;
2159
2159
  const data = new FormData();
2160
- data.append(name, file);
2161
2160
  if (formData) {
2162
2161
  Object.entries(formData).forEach(([k, v]) => {
2163
2162
  if (v !== void 0 && v !== null) data.append(k, String(v));
2164
2163
  });
2165
2164
  }
2165
+ data.append(name, file);
2166
2166
  xhr.send(data);
2167
2167
  });
2168
2168
  }