Update (post editor): Only forceResize for featured image, other images follow back size

This commit is contained in:
2023-07-31 01:49:20 +08:00
parent 9ed9671f09
commit 2a802ccd44
21 changed files with 30 additions and 27 deletions

View File

@@ -91,6 +91,7 @@ export default {
this.isUploading = true;
const formData = new FormData();
formData.append("file", file);
formData.append("forceSize", "true");
axios
.post(route("api.admin.upload.cloud.image"), formData, {