mirror of
https://gitee.com/layui/layui.git
synced 2025-10-26 18:59:15 +08:00
修复 upload size 提示错误
This commit is contained in:
@@ -89,7 +89,7 @@ layui.use('upload', function(){
|
||||
var uploadInst = upload.render({
|
||||
elem: '#test1'
|
||||
,url: '/upload/'
|
||||
//,size: 60 //限制文件大小,单位 KB
|
||||
,size: 2000 //限制文件大小,单位 KB
|
||||
,accept: 'file'
|
||||
,fileAccept: 'image/*'
|
||||
,exts: "jpg|png|gif|bmp|jpeg|pdf"
|
||||
|
||||
Reference in New Issue
Block a user