|
|
|
@ -467,8 +467,8 @@ function addAll() { |
|
|
|
|
uploadListIns = upload.render({ |
|
|
|
|
elem: '#fileUpload', //选择多文件按钮
|
|
|
|
|
url: ctx + '/ybsjDelicacyfoodShop/upload', |
|
|
|
|
accept: 'jpg|jpeg|png|svg', //和exts 配套 指定上传文件格式
|
|
|
|
|
exts: 'jpg|jpeg|png|svg', //允许的文件格式
|
|
|
|
|
accept: 'jpg|jpeg|png|svg|JPG', //和exts 配套 指定上传文件格式
|
|
|
|
|
exts: 'jpg|jpeg|png|svg|JPG', //允许的文件格式
|
|
|
|
|
multiple: false, //支持多文件上传
|
|
|
|
|
before: function (input) { |
|
|
|
|
// layer.msg('文件上传中', {
|
|
|
|
@ -512,8 +512,8 @@ function addAll() { |
|
|
|
|
uploadListIns = upload.render({ |
|
|
|
|
elem: '#logoUpload', //选择多文件按钮
|
|
|
|
|
url: ctx + '/ybsjDelicacyfoodShop/upload', |
|
|
|
|
accept: 'jpg|jpeg|png|svg', //和exts 配套 指定上传文件格式
|
|
|
|
|
exts: 'jpg|jpeg|png|svg', //允许的文件格式
|
|
|
|
|
accept: 'jpg|jpeg|png|svg|JPG', //和exts 配套 指定上传文件格式
|
|
|
|
|
exts: 'jpg|jpeg|png|svg|JPG', //允许的文件格式
|
|
|
|
|
multiple: true, //支持多文件上传
|
|
|
|
|
before: function (input) { |
|
|
|
|
// layer.msg('文件上传中', {
|
|
|
|
|