Skip to content

Commit

Permalink
fix: codereivew修改
Browse files Browse the repository at this point in the history
  • Loading branch information
human committed Jan 17, 2025
1 parent 6f55252 commit c52df0e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class RNIntersectionObserver {
this.observeAll = this.options.observeAll

// 组件上挂载对应的observers,用于在组件销毁的时候进行批量disconnect
this.component._intersectionObservers = this.component.__intersectionObservers
this.component._intersectionObservers = this.component._intersectionObservers || []
this.component._intersectionObservers.push(this)

this.observerRefs = null
Expand Down

0 comments on commit c52df0e

Please sign in to comment.