| | |
| | | :limit="limit" |
| | | :list-type="drag ? 'picture' : 'picture-card'" |
| | | :multiple="multiple" |
| | | :name="name" |
| | | :on-change="handleChange" |
| | | :on-error="handleUploadError" |
| | | :on-exceed="handleExceed" |
| | |
| | | if (this.uploadList !== val) { |
| | | this.uploadList = this.getUploadList(val) |
| | | this.fileList = this.getUploadList(val) |
| | | console.log(this.fileList,'this.fileList this.fileList') |
| | | this.$emit('getUploaderImg',this.fileList) |
| | | } |
| | | }, |
| | | isShowCrop(value) { |
| | |
| | | }, |
| | | // 上传成功回调 |
| | | handleUploadSuccess(response, file) { |
| | | console.log(response, file,'response, file') |
| | | if (response.code === 0) { |
| | | this.progressPercent = 100 |
| | | this.uploading = false |