设置了 layui exts: 'jpg|pdf|png|docx' 属性 后如果不设置 accept: 'file' , 默认会提示 "图片格式上传错误"。 相反,设置了 accept:'file' 格式错误时会提示 "文件格式上传错误"