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事件绑定 #76

Open
yedajiang44 opened this issue Aug 13, 2020 · 0 comments
Open

amapAutocomplete事件绑定 #76

yedajiang44 opened this issue Aug 13, 2020 · 0 comments

Comments

@yedajiang44
Copy link

    <input
      amapAutocomplete
      id="start"
      placeholder="请输入起点地址关键字..."
      (naSelect)="onEvent($event, 'naSelect')"
      [citylimit]="false"
    />
    <input
      amapAutocomplete
      id="end"
      placeholder="请输入终点地址关键字..."
      (naSelect)="onEvent($event, 'naSelect')"
      [citylimit]="false"
    />

事件会全部绑定到start,导致start触发两次,而end触发不了

amap-js-api1.4.8

amap-js-api-autocomplete1.4.0

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