HarmonyOS 使用WaterFlow 结合WaterFlowSection过程中发生崩溃?

使用WateFlow + WaterFlowSection 过程中,将它作为PicturePullDownRefresh 的customList 时,在初始化展示过程中发生崩溃。

阅读 552
1 个回答

将WaterFlowSource.ets页面的 let r = this.mSections.update(index, update)改为let r = this.mSections.splice(index, 1, [update]),可以解决问题

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进