为什么map组件bindmarkertap事件忽然返回markerId为undefined?

小程序 文章 2020-09-07 23:01 702 0 全屏看文

AI助手支持GPT4.0

为什么map组件bindmarkertap事件忽然返回markerId为undefined?Why does the bindmarkertap event of the map component suddenly return markerId as undefined?

为什么map组件bindmarkertap事件忽然返回markerId为undefined?

之前我的小程序运行的好好的,今天忽然发现有了问题,经调试,发现是因为bindmarkertap返回的markerId为undefined,以前一直运行的好好的,不知为什么突然不行了,然后我再另外一台苹果手机上又是好的,什么原因呢?

Before my small program ran well, I suddenly found a problem today. After debugging, I found that it was because the markerid returned by bindmarkertap was undefined, which had been running well before. I don't know why it suddenly failed. Then I found that it was good on another apple phone. What's the reason?

回答:

bryan:

遇到同样的问题

程序员h:

同样遇到这个问题,之前都正常的

繁星:

发布版和真机调试有问题,而模拟环境是没问题的

(发现别人也遇到同样的问题,请官方查一下)

-EOF-

AI助手支持GPT4.0