From 42115b5bd715e3f784da2cf6f44ff3114e6c0413 Mon Sep 17 00:00:00 2001 From: wanglei Date: Sat, 6 Jul 2024 11:17:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E4=BB=B6=E5=A4=A7=E5=B0=8F=E9=99=90?= =?UTF-8?q?=E5=88=B6(MB)=E3=80=81=E8=B6=85=E6=97=B6=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dangan-ui/src/api/dangan/collection.js | 3 +- .../src/views/dangan/collection/index.vue | 122 +++++++++++------- 2 files changed, 76 insertions(+), 49 deletions(-) diff --git a/dangan-ui/src/api/dangan/collection.js b/dangan-ui/src/api/dangan/collection.js index 29a6962..c88af37 100644 --- a/dangan-ui/src/api/dangan/collection.js +++ b/dangan-ui/src/api/dangan/collection.js @@ -8,7 +8,7 @@ export function collectSaves(data) { 'Content-Type': 'multipart/form-data', repeatSubmit: false }, - timeout: 100000000, + timeout: 120000, method: 'post', data: data }) @@ -19,6 +19,7 @@ export function collectRecongnize(data) { return request({ url: '/dangan/collect/recongnize', method: 'post', + timeout: 180000, data: data }) } diff --git a/dangan-ui/src/views/dangan/collection/index.vue b/dangan-ui/src/views/dangan/collection/index.vue index 88c099c..c751509 100644 --- a/dangan-ui/src/views/dangan/collection/index.vue +++ b/dangan-ui/src/views/dangan/collection/index.vue @@ -90,7 +90,7 @@
-
将文件拖到此处,或点击上传
-
只能上传图片,且不超过100MB
+
只能上传图片,且不超过{{ upload.fileSize }}MB