diff --git a/src/platforms/mp-alipay/runtime/api/index.js b/src/platforms/mp-alipay/runtime/api/index.js index 2e41345737a48ad187d2084178530d91688a6c58..fa81afc0816e51d39080dc91c59b68457b602983 100644 --- a/src/platforms/mp-alipay/runtime/api/index.js +++ b/src/platforms/mp-alipay/runtime/api/index.js @@ -90,3 +90,11 @@ export function createSelectorQuery () { } return query } + +export function createIntersectionObserver (component, options) { + if (options && options.observeAll) { + options.selectAll = options.observeAll + delete options.observeAll + } + return my.createIntersectionObserver(options) +}