Jfinal uploads files

the front-end page uses vue+element-ui, and the back-end uses jfinal

added enctype= "multipart/form-data" method= "post"

to the from form

backend uses UploadFile file=getFile (); get
I don"t know what"s wrong, and always report
Posted content type isn"t multipart/form-data error

.

it is useless to change the request header, and in the project, other methods are also used to upload files.
but there is no error, so there is no
solution here.
Thank you all for your bosses


form becomes el-form , remove enctype= "multipart/form-data" method= "post"

submitUpload(){
    this.$refs.upload.submit()
}
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eae3e0-46c3e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eae3e0-46c3e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?