修复 upload size 提示错误

This commit is contained in:
sentsin
2018-05-06 18:38:05 +08:00
parent f12f08e6c5
commit c9f80d74fc
2 changed files with 2 additions and 5 deletions

View File

@@ -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"