1
0
mirror of https://github.com/SunnyQjm/taro-cropper.git synced 2026-06-03 08:16:46 +08:00

add: 添加说明文档

This commit is contained in:
SunnyQjm
2019-08-18 11:08:05 +08:00
parent 1e2b785f46
commit 319ea3cf16
3 changed files with 12 additions and 12 deletions
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

+12 -12
View File
@@ -48,18 +48,18 @@ export default class Index extends Component<IndexProps, IndexState> {
return (
<View className='index'>
<TaroCropper
height={1000} src={src}
cropperWidth={400}
cropperHeight={400}
ref={this.catTaroCropper}
themeColor={'#f00'}
// fullScreen
onCut={res => {
this.setState({
cutImagePath: res
})
}}
/>
height={1000} src={src}
cropperWidth={400}
cropperHeight={400}
ref={this.catTaroCropper}
// themeColor={'#f00'}
fullScreen
onCut={res => {
this.setState({
cutImagePath: res
})
}}
/>
<Button onClick={() => {
Taro.chooseImage()
.then(res => {