@nger/fk-upload 1.0.123 → 1.0.124
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.
@@ -161,8 +161,9 @@ let FkService = class FkService {
|
|
161
161
|
timeout: 8000
|
162
162
|
}).then(res => {
|
163
163
|
return res.data;
|
164
|
-
}).catch(
|
165
|
-
|
164
|
+
}).catch((e) => {
|
165
|
+
console.log(`upload error`, e.message);
|
166
|
+
return this.startUploadFile(task);
|
166
167
|
});
|
167
168
|
if (uploadResult.code !== 200) {
|
168
169
|
if (uploadResult.data) {
|