提交 09dceeaa 编写于 作者: DCloud-WZF's avatar DCloud-WZF 💬

fix(mp-baidu): uni.createIntersectionObserver observeAll transform selectAll fix #3835

上级 346506b2
...@@ -24,6 +24,14 @@ export function requestPayment (params) { ...@@ -24,6 +24,14 @@ export function requestPayment (params) {
} }
} }
export function createIntersectionObserver (component, options) {
if (options && options.observeAll) {
options.selectAll = options.observeAll
delete options.observeAll
}
return swan.createIntersectionObserver(component, options)
}
export { export {
createMediaQueryObserver createMediaQueryObserver
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册