From 7050cad2df7af240c66d4bd6e83c50562e4b4715 Mon Sep 17 00:00:00 2001 From: Harry Yang Date: Tue, 3 Jan 2023 14:15:00 +0800 Subject: [PATCH] =?UTF-8?q?=E9=99=90=E5=88=B6=E4=B8=8A=E4=BC=A0=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 预算采购明细表点击右上角的×无法退出 --- .../templates/admin/business/process-edit.ftl | 12 +++++++++++- .../templates/admin/business/process-new.ftl | 12 +++++++++++- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/src/main/resources/templates/admin/business/process-edit.ftl b/src/main/resources/templates/admin/business/process-edit.ftl index be55c17..5e1ff5f 100644 --- a/src/main/resources/templates/admin/business/process-edit.ftl +++ b/src/main/resources/templates/admin/business/process-edit.ftl @@ -229,9 +229,11 @@ name="files[]" :on-remove="handleRemove" :before-remove="beforeRemove" + :before-upload="beforeUpload" :on-success="handleFileUploaded" :limit="10" :file-list="fileList" - :on-exceed="handleExceed"> + :on-exceed="handleExceed" + accept=".rar,.zip,.7z,.doc,.docx,.pdf,.xls,.xlsx,.png,.jpg,.jpeg,.gif,.bmp"> 点击上传
只能上传PDF、excel、word、图片、压缩包,且不超过50MB
@@ -294,6 +296,7 @@