n20-common-lib 2.9.22 → 2.9.23
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/package.json
CHANGED
|
@@ -669,6 +669,7 @@ export default {
|
|
|
669
669
|
let Pro = axios.post(opt.action + '?r=' + Math.random(), FD, {
|
|
670
670
|
headers: Object.assign(auth.setHeaders(this.headers), { 'Content-Type': 'multipart/form-data' }),
|
|
671
671
|
loading: false,
|
|
672
|
+
timeout: 900000,
|
|
672
673
|
onUploadProgress: (arg) => {
|
|
673
674
|
if (opt.onProgress) {
|
|
674
675
|
arg.percent = arg.progress * 100
|
|
@@ -298,6 +298,7 @@ export default {
|
|
|
298
298
|
let Pro = axios.post(opt.action + '?r=' + Math.random(), FD, {
|
|
299
299
|
headers: Object.assign(auth.setHeaders(this.headers), { 'Content-Type': 'multipart/form-data' }),
|
|
300
300
|
loading: false,
|
|
301
|
+
timeout: 900000,
|
|
301
302
|
onUploadProgress: (arg) => {
|
|
302
303
|
if (opt.onProgress) {
|
|
303
304
|
arg.percent = arg.progress * 100
|