Skip to content

Commit f71962f

Browse files
committed
增加了图片旋转和不预览方形头像的功能
1 parent c7fb609 commit f71962f

File tree

10 files changed

+7700
-9711
lines changed

10 files changed

+7700
-9711
lines changed

README.md

+9-4
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,15 @@ A beautiful vue component for image crop and upload. (vue图片剪裁上传组
1414
## 中文文档在后面
1515

1616
## Change log
17+
#### @2.1.0
18+
- Strengthen the function of image rotation and not preview square avatar
19+
1720
#### @2.0.5
1821
- Added the **spanish MX** language pack (thanks @vickvasquez)
1922

20-
2123
#### @2.0.4
2224
- Added the **Turkish** language pack (thanks @smhayhan)
2325

24-
2526
#### @2.0.2
2627
- Added the **Dutch** language pack (thanks @blyleven)
2728

@@ -84,7 +85,9 @@ $ npm install vue-image-crop-upload
8485
| width | Number | 200 | width of receive image |
8586
| height | Number | 200 | height of receive image |
8687
| imgFormat | string | 'jpg' | jpg/png, Server api receive file type. |
87-
| noCircle | Boolean | false | disable/enable circle preview |
88+
| noCircle | Boolean | false | disable circle preview |
89+
| noSquare | Boolean | false | disable square preview |
90+
| noRotate | Boolean | true | disable rotate function |
8891

8992
#### Events
9093
| Name | Description |
@@ -346,7 +349,9 @@ $ npm install vue-image-crop-upload
346349
| width | Number | 200 | 最终得到的图片宽度 |
347350
| height | Number | 200 | 最终得到的图片高度 |
348351
| imgFormat | string | 'jpg' | jpg/png, 最终得到的图片格式 |
349-
| noCircle | Boolean | false | 启用/关闭 圆形图像预览 |
352+
| noCircle | Boolean | false | 关闭 圆形图像预览 |
353+
| noSquare | Boolean | false | 关闭 方形图像预览 |
354+
| noRotate | Boolean | true | 关闭 旋转图像功能 |
350355

351356
#### Events
352357
| 名称 | 说明 |

0 commit comments

Comments
 (0)