如果你用的是umeditor,打开/umeditor/dialogs/image/image.js,搜索accept,将accept那句改成accept=”image/gif,image/jpeg,image/png,image/jpg,image/bmp”/>’
保存,清除临时文件,刷新就好了。