浏览代码

docs: Modify the incorrect API name description

zhangyumei.0319 5 月之前
父节点
当前提交
7b754ae2bb
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      content/show/cropper/index-en-US.md
  2. 1 1
      content/show/cropper/index.md

+ 1 - 1
content/show/cropper/index-en-US.md

@@ -23,7 +23,7 @@ import { Cropper } from '@douyinfe/semi-ui';
 
 ### Basic usage
 
-Use `sr` to set the cropped image; use `shape` to set the shape of the cropping box, which defaults to square.
+Use `src` to set the cropped image; use `shape` to set the shape of the cropping box, which defaults to square.
 
 ```jsx live=true dir=column noInline=true
 import { Cropper, Button, RadioGroup, Radio } from '@douyinfe/semi-ui';

+ 1 - 1
content/show/cropper/index.md

@@ -26,7 +26,7 @@ import { Cropper } from '@douyinfe/semi-ui';
 
 ### 基本用法
 
-通过 `sr` 设置被裁切的图片; 可通过 `shape` 设置裁切框形状,默认为方形。
+通过 `src` 设置被裁切的图片; 可通过 `shape` 设置裁切框形状,默认为方形。
 
 ```jsx live=true dir=column noInline=true
 import { Cropper, Button, RadioGroup, Radio } from '@douyinfe/semi-ui';