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

amapAutocomplete 切换city时不起作用 #23

Closed
kavinwang opened this issue Jun 22, 2018 · 2 comments
Closed

amapAutocomplete 切换city时不起作用 #23

kavinwang opened this issue Jun 22, 2018 · 2 comments

Comments

@kavinwang
Copy link

kavinwang commented Jun 22, 2018

如下面的代码:
<input amapAutocomplete type="text" [city]="currCity.cityName" citylimit="true" class="form-control" placeholder="请输入地址关键字...">
当currCity改变时,此时的关键词搜索的结果还是限定在原来的cityName上,并没有跟随新城市的改变而改变!

修改起来比较简单,也没啥复杂的算法,就不提pr了!

@xieziyu
Copy link
Owner

xieziyu commented Jun 22, 2018

@kavinwang 多谢,确实遗漏了三个setter

@xieziyu
Copy link
Owner

xieziyu commented Jun 22, 2018

已在 v2.1.1 和 v1.3.3 中修复。

@xieziyu xieziyu closed this as completed Jun 22, 2018
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

2 participants