我也是这个问题,微信小程序模拟器和 iPhone 6S 都没有触发。
<map id="map_choice" :longitude="centerLongitude" :latitude="centerLatitude" :scale="scale" show-location @updated="updated" @regionchange="regionChange"></map>
regionChange(e) {
this.$toast('regionChange');
console.log(e);
if (e.type == 'end' && (e.causedBy == 'scale' || e.causedBy == 'drag')) {
this.showCenter();
}
}
拖动地图时,没有 toast 提示也没有打印日志。
请尽快解决。
4 个回复
ZGH0709
正式版 HBuilderX 存在这个问题,该问题在 HBuilderX 1.9.10.20190525-alpha 版本已经修复,关于 alpha 版本与正式版差异见: http://ask.dcloud.net.cn/article/35765
摇头玩
我也是这个问题,微信小程序模拟器和 iPhone 6S 都没有触发。
拖动地图时,没有 toast 提示也没有打印日志。
请尽快解决。
d***@foxmail.com
现在还是有问题,有解决办法吗
y***@126.com
手机端type只有end吧我这里出现了手机端苹果手机不能拖拽 缩放很卡的问题 有办法