html52.com
我爱小程序-开发者交流社区

什么场景下会触发this.setUpdatePerformanceListener这个方法呢?

setUpdatePerformanceListener这个方法是官方提供用于监听页面或组件中setData更新的,其回调函数中的res中一般会有dataPaths字段,该字段的值类型,官方给的说明为arry,但最近工作中会发现,dataPaths的取值可能会为undefined,导致代码报错,想知道在什么场景下,会触发setUpdatePerformanceListener?在什么情况下,会导致dataPaths为undefined?setUpdatePerformanceListener?在什么情况下,会导致dataPaths为undefined?


setUpdatePerformanceListener?在什么情况下,会导致dataPaths为undefined?

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

真正的个人免签约支付接口

云免签H5支付