Forráskód Böngészése

docs: Modify the incorrect API name description

zhangyumei.0319 5 hónapja
szülő
commit
7b754ae2bb
2 módosított fájl, 2 hozzáadás és 2 törlés
  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';