-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
onRegionChange 类型错误 #17151
Comments
This was referenced Jan 11, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
相关平台
微信小程序
小程序基础库: 3.7.3
使用框架: React
复现步骤
onRegionChange 的类型声明错误,正确的应该是:
e = {causedBy, type, detail: {rotate, skew, scale, centerLocation, region}}
期望结果
正确的类型声明: e.detail.centerLocation
实际结果
e.detail.detail.centerLocation
环境信息
The text was updated successfully, but these errors were encountered: