文件上传步骤:

1.将 enctype 设置为 multipart/form-data 

 

 2.判断要上传的文件是否为空

 

 3.进行上传

 

posted on 2021-07-30 08:55  叫我凯凯  阅读(17)  评论(0编辑  收藏  举报