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

为何地图的select事件只能选一次,选第二次就会出错了? #23

Closed
chyf opened this issue Jul 21, 2013 · 4 comments
Closed

Comments

@chyf
Copy link

chyf commented Jul 21, 2013

utils.js 86行
TypeError: target is null
[在此错误处中断]
&& typeof target[index] == 'object'

在select事件里面重新setOption可以避免这个错误,但每次setOption都会重置,不想这样子做呀。为何DEMO没错,我的却出错了呢?

@kener
Copy link
Contributor

kener commented Jul 22, 2013

你的需求是?参考这个demo,单选多选都没问题啊~
http://ecomfe.github.io/echarts/doc/example/map2.html

@canghaiyifeng
Copy link

hi kener 感谢你的回答 demo是没问题 可我照着写却出问题了
可以给你发邮件么?

@kener
Copy link
Contributor

kener commented Jul 22, 2013

欢迎~

@chyf
Copy link
Author

chyf commented Jul 22, 2013

不知道为何突然又好了。。

@chyf chyf closed this as completed Jul 22, 2013
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

3 participants