This commit is contained in:
BianLzhaoMin 2025-02-25 18:13:13 +08:00
parent f9a80f8414
commit 4378412da0
1 changed files with 1 additions and 1 deletions

View File

@ -277,7 +277,7 @@
url: ctxPath + '/upload/file', // 文件上传接口(这里要根据实际接口替换)
accept: 'file', // 选择文件类型
multiple: false, // 支持多文件上传
auto: true, // 禁用自动上传,点击确定按钮后上传
auto: false, // 禁用自动上传,点击确定按钮后上传
bindAction: '#uploadConfirm', // 确定按钮触发上传
choose: function (obj) {
// 当选择文件时会触发这个方法