mirror of
https://github.com/SunnyQjm/taro-cropper.git
synced 2026-06-03 08:16:46 +08:00
add: 添加说明文档
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 104 KiB |
+12
-12
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user