message: feat(nester-scroll): optimize
diff: @@ -20,6 +20,14 @@ const compatibleFeatures: {
  },
  nestedScroll(scrollsPair: BScrollPairs) {
  const [parentScroll, childScroll] = scrollsPair
  +
  + const parentScrollX = parentScroll.options.scrollX
  + const parentScrollY = parentScroll.options.scrollY
  + const childScrollX = childScroll.options.scrollX
  + const childScrollY = childScroll.options.scrollY
  + // vertical nested in vertical scroll and horizontal nested in horizontal
  + // otherwise, no need to handle.
  + if (parentScrollX === childScrollX || parentScrollY === childScrollY) {
  scrollsPair.forEach((scroll, index) => {
  const oppositeScroll = scrollsPair[(index + 1) % 2]
  @@ -45,6 +53,7 @@ const compatibleFeatures: {
  })
  }
  }
  +}
  export default class NestedScroll {
  static pluginName = 'nestedScroll'
  static nestedScroll?: NestedScroll
  