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

为什么我在监听函数里获取到了经纬度,但是我想赋值给一个变量,为什么赋值不出去? #227

Open
cnpmge opened this issue Aug 22, 2019 · 1 comment

Comments

@cnpmge
Copy link

cnpmge commented Aug 22, 2019

我想将赋值传递给我自己定义的state的值,但是就是赋值不出去,是哪里出问题了呢?
QQ截图20190822191340

@cnpmge
Copy link
Author

cnpmge commented Aug 22, 2019

TypeError: TypeError: Cannot read property 'latitude' of undefined
this.state里明明是有的啊

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

No branches or pull requests

1 participant