You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 28, 2023. It is now read-only.
在前端也加一层文件后缀名验证,因为现在前端没验证任何文件后缀名,后端验证后返回消息给前端,这样做的坏处是:由于jquery.upload.js这个插件支持文件夹上传,如果文件夹里有10个不合法后缀名的文件,那么前端就要弹10次alert
我看了一下,这个插件官方就支持限制,jquery.fileupload-validate.js用这个js就行
The text was updated successfully, but these errors were encountered: