官网上传图片大小限制取消
This commit is contained in:
parent
b1f065de8f
commit
6291681025
@ -188,9 +188,14 @@ export default {
|
||||
this.$refs.fileInput.value = '';
|
||||
|
||||
} else {
|
||||
|
||||
this.$refs.fileInput.value = "";
|
||||
this.$message.error(res.data.msg);
|
||||
}
|
||||
})
|
||||
}).catch((err) => {
|
||||
this.loading = false;
|
||||
this.$refs.fileInput.value = "";
|
||||
this.$message.error("插入图片失败");
|
||||
});
|
||||
};
|
||||
reader.readAsArrayBuffer(file);
|
||||
|
||||
|
@ -704,9 +704,14 @@ changeAddModel3(){
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
this.$refs.fileInput1.value = '';
|
||||
this.$message.error(res.data.msg);
|
||||
}
|
||||
})
|
||||
}).catch((err) => {
|
||||
this.loading = false;
|
||||
this.$refs.fileInput1.value = '';
|
||||
this.$message.error("插入图片失败");
|
||||
});
|
||||
};
|
||||
reader.readAsArrayBuffer(file);
|
||||
|
||||
|
@ -375,8 +375,13 @@ export default {
|
||||
this.nowData1.hls = res.data.msg;
|
||||
this.$refs.fileInput1.value = "";
|
||||
} else {
|
||||
this.$refs.fileInput1.value = "";
|
||||
this.$message.error(res.data.msg);
|
||||
}
|
||||
}).catch((err) => {
|
||||
this.loading = false;
|
||||
this.$refs.fileInput1.value = "";
|
||||
this.$message.error("插入图片失败");
|
||||
});
|
||||
};
|
||||
reader.readAsArrayBuffer(file);
|
||||
|
@ -247,6 +247,8 @@ export default {
|
||||
this.$refs.fileInput.value = '';
|
||||
} else {
|
||||
console.log(null);
|
||||
|
||||
this.$refs.fileInput.value = '';
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -135,6 +135,7 @@ export default {
|
||||
this.$refs.fileInput.value = '';
|
||||
} else {
|
||||
console.log(null);
|
||||
this.$refs.fileInput.value = '';
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -169,6 +169,7 @@ export default {
|
||||
this.$refs.fileInput.value = '';
|
||||
} else {
|
||||
console.log(null);
|
||||
this.$refs.fileInput.value = '';
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -150,6 +150,7 @@ export default {
|
||||
this.$refs.fileInput.value = '';
|
||||
} else {
|
||||
console.log(null);
|
||||
this.$refs.fileInput.value = '';
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -177,6 +177,7 @@ export default {
|
||||
this.$refs.fileInput.value = '';
|
||||
} else {
|
||||
console.log(null);
|
||||
this.$refs.fileInput.value = '';
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -133,6 +133,7 @@ export default {
|
||||
this.$refs.fileInput.value = '';
|
||||
} else {
|
||||
console.log(null);
|
||||
this.$refs.fileInput.value = '';
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -294,6 +294,7 @@ export default {
|
||||
this.$refs.fileInput.value = '';
|
||||
} else {
|
||||
console.log(null);
|
||||
this.$refs.fileInput.value = '';
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -153,6 +153,7 @@ export default {
|
||||
this.$refs.fileInput.value = '';
|
||||
} else {
|
||||
console.log(null);
|
||||
this.$refs.fileInput.value = '';
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -153,6 +153,7 @@ export default {
|
||||
this.$refs.fileInput.value = '';
|
||||
} else {
|
||||
console.log(null);
|
||||
this.$refs.fileInput.value = '';
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -161,6 +161,7 @@ export default {
|
||||
this.$refs.fileInput.value = '';
|
||||
} else {
|
||||
console.log(null);
|
||||
this.$refs.fileInput.value = '';
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -229,6 +229,7 @@ export default {
|
||||
this.$refs.fileInput.value = '';
|
||||
} else {
|
||||
console.log(null);
|
||||
this.$refs.fileInput.value = '';
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -242,6 +242,7 @@ export default {
|
||||
this.$refs.fileInput.value = '';
|
||||
} else {
|
||||
console.log(null);
|
||||
this.$refs.fileInput.value = '';
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -149,6 +149,7 @@ export default {
|
||||
this.$refs.fileInput.value = '';
|
||||
} else {
|
||||
console.log(null);
|
||||
this.$refs.fileInput.value = '';
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -255,6 +255,7 @@ export default {
|
||||
this.$refs.fileInput.value = '';
|
||||
} else {
|
||||
console.log(null);
|
||||
this.$refs.fileInput.value = '';
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -229,6 +229,7 @@ export default {
|
||||
this.$refs.fileInput.value = '';
|
||||
} else {
|
||||
console.log(null);
|
||||
this.$refs.fileInput.value = '';
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -229,6 +229,7 @@ export default {
|
||||
this.$refs.fileInput.value = '';
|
||||
} else {
|
||||
console.log(null);
|
||||
this.$refs.fileInput.value = '';
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -203,6 +203,7 @@ export default {
|
||||
this.$refs.fileInput.value = '';
|
||||
} else {
|
||||
console.log(null);
|
||||
this.$refs.fileInput.value = '';
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -149,6 +149,7 @@ export default {
|
||||
this.$refs.fileInput.value = '';
|
||||
} else {
|
||||
console.log(null);
|
||||
this.$refs.fileInput.value = '';
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -249,6 +249,7 @@ export default {
|
||||
this.$refs.fileInput.value = '';
|
||||
} else {
|
||||
console.log(null);
|
||||
this.$refs.fileInput.value = '';
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user