Closed vulam8x closed 3 years ago
I got the 'fileName' passed from vuejs, but can't upload the 'file' to the server via categoryController.
currentCategory: { name: '', file: '', fileName: '', },
dropzoneS(file) { // this.$message({ message: file.name, type: 'success' }); this.currentCategory.fileName = file.name; this.currentCategory.file = file; },
I'm Done!
I got the 'fileName' passed from vuejs, but can't upload the 'file' to the server via categoryController.
currentCategory: { name: '', file: '', fileName: '', },
dropzoneS(file) { // this.$message({ message: file.name, type: 'success' }); this.currentCategory.fileName = file.name; this.currentCategory.file = file; },