提交 8debc653 编写于 作者: DCloud-WZF's avatar DCloud-WZF 💬

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

上级 fb11be47
......@@ -27,3 +27,13 @@ export function requestPayment(params: UniApp.RequestPaymentOptions) {
swan.requestPolymerPayment(params)
}
}
export function createIntersectionObserver(
component: any,
options: UniApp.CreateIntersectionObserverOptions
) {
if (options && options.observeAll) {
;(options as any).selectAll = options.observeAll
delete options.observeAll
}
return (swan as any).createIntersectionObserver(component, options)
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册