We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
wepy2.1.0未正常触发bindregionchange事件
在布局中正常引入map组件和bindregionchange事件即可复现该问题。 <map id="mapId" class="map" latitude="{{latitude}}" longitude="{{longitude}}" bindmarkertap="onMarkerTap" bindcallouttap="onCalloutTap" bindlabeltap="onLabelTap" bindregionchange="bindregionchange" />
<map id="mapId" class="map" latitude="{{latitude}}" longitude="{{longitude}}" bindmarkertap="onMarkerTap" bindcallouttap="onCalloutTap" bindlabeltap="onLabelTap" bindregionchange="bindregionchange" />
bindregionchange(e){ console.log('bindregionchange', e) }
没有出现bindregionchange日志,未触发bindregionchange事件
出现bindregionchange日志,触发bindregionchange事件
将bindregionchange="handleRegionchange"改为@regionchange="handleRegionchange" @begin="regionChangeBegin" @end="regionChangeEnd"可解决该问题。
bindregionchange="handleRegionchange"
@regionchange="handleRegionchange" @begin="regionChangeBegin" @end="regionChangeEnd"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
wepy2.1.0未正常触发bindregionchange事件
Environment
"@wepy/use-promisify": "^2.1.0",
"@wepy/x": "^2.0.2"]
Reproduce
在布局中正常引入map组件和bindregionchange事件即可复现该问题。
<map id="mapId" class="map" latitude="{{latitude}}" longitude="{{longitude}}" bindmarkertap="onMarkerTap" bindcallouttap="onCalloutTap" bindlabeltap="onLabelTap" bindregionchange="bindregionchange" />
bindregionchange(e){ console.log('bindregionchange', e) }
Observed Results
没有出现bindregionchange日志,未触发bindregionchange事件
Expected Results
出现bindregionchange日志,触发bindregionchange事件
Others
将
bindregionchange="handleRegionchange"
改为@regionchange="handleRegionchange" @begin="regionChangeBegin" @end="regionChangeEnd"
可解决该问题。The text was updated successfully, but these errors were encountered: