收藏
回答

获取小程序性能数据开放api,为什么获取页面切换耗时数据一直是0?

{"tables":[{"id":"costtime","lines":[{"fields":[{"refdate":"20240401","value":"0"},{"refdate":"20240402","value":"0"},{"refdate":"20240403","value":"0"},{"refdate":"20240404","value":"0"},{"refdate":"20240405","value":"0"},{"refdate":"20240406","value":"0"},{"refdate":"20240407","value":"0"}]}],"zh":"耗时"}],"count":1}

上面是我调用getPerformance Api获得的数据,一直是0,但we分析上看到是有数据的。是哪里使用不对吗?同样的方式,获取10017启动各阶段耗时是正常的。

回答关注问题邀请回答
收藏

1 个回答

登录 后发表内容