Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when use method setCropzoneRect(mode) to custom the cropzone,the controle plateform gets an error #786

Open
tangxiujiang opened this issue Jun 12, 2022 · 2 comments
Labels

Comments

@tangxiujiang
Copy link

the method setCropzoneRect dose not effect,because the controle plateform gets an error.

this picture shows my use:
1

this picture show the origin code of the method setCropzoneRect:
2

then the control plateform gets an error:
3

the error is causeed by the varible '_cropzone' dose not get a assign value,then the varible 'cropzone' in 'setCropzoneRect' gets value from varible 'this._cropzone' . varible 'cropzone' is null,but call cropzone.set.

@lja1018
Copy link
Contributor

lja1018 commented Jun 15, 2022

@tangxiujiang
Thank you for reporting the bug. I'll fix it.

@HeiYanjing
Copy link

这位老师,有没有不用原生的任务栏,完全自定义实现功能,我在instance.value.setCropzoneRect(null)执行自定义裁剪功能后,手动框选裁剪区域,只要一开始框选,就报错。错误类似。
image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants