vue-image-crop-upload
vue-image-crop-upload copied to clipboard
A beautiful vue component for image cropping and uploading. (vue图片剪裁上传组件)
Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2. Commits - [`754f0c2`](https://github.com/jonschlinkert/mixin-deep/commit/754f0c20e1bc13ea5a21a64fbc7d6ba5f7b359b9) 1.3.2 - [`90ee1fa`](https://github.com/jonschlinkert/mixin-deep/commit/90ee1fab375fccfd9b926df718243339b4976d50) ensure keys are valid when mixing in values - See full diff in [compare view](https://github.com/jonschlinkert/mixin-deep/compare/1.3.1...1.3.2) Maintainer changes This...
### solved edit file upload-2.vue: (at line 828) replace ``` new Promise(function(resolve, reject) { let client = new XMLHttpRequest(); client.open('POST', url, true); client.withCredentials = withCredentials; client.onreadystatechange = function() { if...
需要一个页面有多个上传图片,上传的图片需要写到一个数组中,因此需要传入一个index参数,代码如下: ` 点击上传 只能上传jpeg/jpg/png/gif格式的图片,且不超过5M ` js: `toggleShow() { this.show = !this.show; }, cropSuccess(index, photoUrl, field) { console.log('-------- cropSuccess --------', photoUrl); this.photoes[index].photoUrl = photoUrl; }, cropUploadSuccess(index, jsonData, field) { console.log('-------- upload...
The component requires the mimimum 300x300 to upload an image. In my case I have images with lower sizes. Ex: 200x 200, 265 x 190 and others. I can't upload...
Hi, In the cropUploadSuccess function, I wanted to close the window (this.show = false;) and reset the component in order to begin at the first step the next time the...
Option to close on backdrop(grey area around the dialog box) click, would be nice. Pointing to a small cross button can be sometimes frustrating.
上传成功后的问题
上传成功后可以清空选择的文件吗?现在我裁剪上传成功后,再次裁剪的话 进去还是直接就是上次上传的文件
执行完成该函数才真正的执行上传操作
请问一下,能不裁剪,上传原始尺寸嘛