压缩包上传格式筛选

This commit is contained in:
Arno 2019-06-13 18:01:15 +08:00
parent 0cac41f09c
commit 88a5a8d88c

View File

@ -218,7 +218,7 @@
},
multiple: false,
exts: 'tar|bz2|gz|zip|tar.bz2|tar.gz',
// acceptMime: 'application/zip,application/x-tar,application/x-gzip',
acceptMime: '.tar,.bz2,.gz,.zip,.tar.bz2,.tar.gz',
url: './upload',
before: function () {
layer.load(1, {