diff --git a/examples/sites/demos/apis/crop.js b/examples/sites/demos/apis/crop.js index ba8a0201e2..329f447164 100644 --- a/examples/sites/demos/apis/crop.js +++ b/examples/sites/demos/apis/crop.js @@ -80,7 +80,7 @@ export default { 'en-US': 'Set whether the cropping dialog box is visible' }, mode: ['pc'], - pcDemo: 'min-crop-box-width-height' + pcDemo: 'basic-usage' }, { name: 'drag-mode', @@ -214,7 +214,7 @@ export default { 'en-US': 'Default cropped source image' }, mode: ['pc'], - pcDemo: 'no-background' + pcDemo: 'basic-usage' }, { name: 'view-mode', diff --git a/examples/sites/demos/pc/app/crop/webdoc/crop.js b/examples/sites/demos/pc/app/crop/webdoc/crop.js index 65188f8a17..3ba5394ae7 100644 --- a/examples/sites/demos/pc/app/crop/webdoc/crop.js +++ b/examples/sites/demos/pc/app/crop/webdoc/crop.js @@ -281,7 +281,7 @@ export default { }, desc: { 'zh-CN': - '
当一个 cropper 实例完全构建时,通过触发 disable
方法禁用裁剪框,当触发 enable
启用裁剪框。
当一个 cropper 实例完全构建时,通过触发 disable
方法禁用裁剪框,触发 enable
方法启用裁剪框。
When a cropper instance is completely built, the disable
method is triggered to disable the cropping box. When the enable
method is triggered to enable the cropping box.
TIP
\n说明当画布或剪切框开始发生变化时触发 cropstart
事件\n当画布或剪切框正在发生变化时触发 cropmove
事件\n当画布或剪切框发生变化结束时触发 cropend
事件\n当画布或裁剪框发生改变时触发 crop
事件\n通过触发 getCanvasData
获取画布 Canvas(图像包装器)位置和大小数据。
TIP
\n说明当画布或剪切框开始发生变化时触发 cropstart
事件,当画布或剪切框正在发生变化时触发 cropmove
事件,当画布或剪切框发生变化结束时触发 cropend
事件,当画布或裁剪框发生改变时触发 crop
事件,通过触发 getCanvasData
获取画布 Canvas(图像包装器)位置和大小数据。
TIP
\n Description: The cropstart
event is triggered when the canvas or clipping box starts to change.\nThe cropmove
event is triggered when the canvas or clipping box is changed.\nThe cropen event is triggered when the canvas or clipping box ends. d
Event\nThe crop
event is triggered when the canvas or crop box changes. \nThe getCanvasData
event is triggered to obtain the position and size data of the canvas (image wrapper).