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 启用裁剪框。

\n', + '

当一个 cropper 实例完全构建时,通过触发 disable 方法禁用裁剪框,触发 enable 方法启用裁剪框。

\n', 'en-US': '

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.

\n' }, @@ -295,7 +295,7 @@ export default { }, desc: { 'zh-CN': - '

TIP

\n

说明当画布或剪切框开始发生变化时触发 cropstart 事件\n当画布或剪切框正在发生变化时触发 cropmove 事件\n当画布或剪切框发生变化结束时触发 cropend 事件\n当画布或裁剪框发生改变时触发 crop 事件\n通过触发 getCanvasData 获取画布 Canvas(图像包装器)位置和大小数据。

\n
\n', + '

TIP

\n

说明当画布或剪切框开始发生变化时触发 cropstart 事件,当画布或剪切框正在发生变化时触发 cropmove 事件,当画布或剪切框发生变化结束时触发 cropend 事件,当画布或裁剪框发生改变时触发 crop 事件,通过触发 getCanvasData 获取画布 Canvas(图像包装器)位置和大小数据。

\n
\n', 'en-US': '

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. dEvent\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).

\n
\n' },