You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: site/client/components/doc/en/CropImage.vue
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,7 @@
3
3
<h3>Crop Image</h3>
4
4
<p>Set <code>crop</code> value to help you crop the image. </p>
5
5
<pclass="warnning"> if you setted the crop props, you can not upload multiple files.</p>
6
+
<p><code>cropRatio</code> can be setted for diffrent crop shape.But it must be a string like '2:3' or '1:1'. If you set it to 'auto', users can crop any shape images.</p>
6
7
<p>You have two values to select,<strong>local crop:<code>local</code></strong>or<strong>server-side crop: <code>server</code></strong>.</p>
7
8
<h4>Local Crop</h4>
8
9
<p><code>crop="local"</code> The Browser will crop the image via canvas API and send the cropped image to the server.</p>
0 commit comments