|
|
@@ -47,7 +47,7 @@
|
|
|
methods: {
|
|
|
beforeUpload(file) {
|
|
|
console.log("beforeUpload", file);
|
|
|
- console.log("before", this.$refs.multi_uploade);
|
|
|
+ console.log("before", this.$refs.multiUploade);
|
|
|
if (file.type !== "image/png" || file.type !== "image/jpg" || file.type !== "image/jpeg" || file.type !== "image/gif") {
|
|
|
this.$message.error("文件类型不正确");
|
|
|
this.$refs.multiUploade.abort(file);
|
|
|
@@ -67,7 +67,7 @@
|
|
|
console.log("上传成功");
|
|
|
this.handleChange(fileList)
|
|
|
} else {
|
|
|
- this.$refs.multi_uploade.abort(file);
|
|
|
+ this.$refs.multiUploade.abort(file);
|
|
|
console.log("上传失败 abort");
|
|
|
}
|
|
|
},
|