vtb-appit 0.0.84 → 0.0.86
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.
- package/appit.js +3 -2
- package/package.json +1 -1
package/appit.js
CHANGED
|
@@ -821,9 +821,10 @@ class Appit {
|
|
|
821
821
|
{
|
|
822
822
|
const formData = new FormData();
|
|
823
823
|
|
|
824
|
+
console.log(data);
|
|
824
825
|
Object.keys(data).forEach(key => {
|
|
825
|
-
if(key === 'file') return;
|
|
826
|
-
console.log('add ' + key);
|
|
826
|
+
if(key === 'file' || !data[key]) return;
|
|
827
|
+
console.log('add ' + key + " " + data[key]);
|
|
827
828
|
formData.append(key, data[key]);
|
|
828
829
|
});
|
|
829
830
|
|