|
@@ -74,6 +74,9 @@ export default {
|
|
|
this.uploadFileAccept = this.uploadFileFormat
|
|
|
.map(v => "application/" + v)
|
|
|
.join();
|
|
|
+ if (this.uploadFileAccept.includes("zip")) {
|
|
|
+ this.uploadFileAccept = ".zip," + this.uploadFileAccept;
|
|
|
+ }
|
|
|
},
|
|
|
methods: {
|
|
|
fileFormatCheck(file, resolve, reject) {
|