mirror of
https://gitee.com/dromara/Jpom.git
synced 2024-12-03 20:38:52 +08:00
压缩包上传格式筛选
This commit is contained in:
parent
0cac41f09c
commit
88a5a8d88c
@ -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, {
|
||||
|
Loading…
Reference in New Issue
Block a user