This commit is contained in:
sentsin
2018-04-03 06:41:11 +08:00
parent 372fab561e
commit 44663c4ced
34 changed files with 103 additions and 57 deletions

View File

@@ -91,6 +91,7 @@ layui.use('upload', function(){
,url: '/upload/'
//,size: 60 //限制文件大小,单位 KB
,accept: 'file'
,fileAccept: 'image/*'
,exts: "jpg|png|gif|bmp|jpeg|pdf"
,before: function(obj){
//预读本地文件示例不支持ie8