diff --git a/packages/uni-app-plus/dist/index.js b/packages/uni-app-plus/dist/index.js index 3b1d09c21a3969aa19d7dc72c676352dd899d29f..a7b7a15734514200ff814ebefce7332053dcef1c 100644 --- a/packages/uni-app-plus/dist/index.js +++ b/packages/uni-app-plus/dist/index.js @@ -19,7 +19,7 @@ function hasOwn (obj, key) { return hasOwnProperty.call(obj, key) } -function noop () {} +function noop () { } /** * Create a cached version of a pure function. diff --git a/packages/uni-mp-alipay/dist/index.js b/packages/uni-mp-alipay/dist/index.js index cabe08b67cd854b47edb5512da0cea31630d1089..033fdab965a24e290c6132d4da7a087649facbd5 100644 --- a/packages/uni-mp-alipay/dist/index.js +++ b/packages/uni-mp-alipay/dist/index.js @@ -19,7 +19,7 @@ function hasOwn (obj, key) { return hasOwnProperty.call(obj, key) } -function noop () {} +function noop () { } /** * Create a cached version of a pure function. @@ -751,6 +751,9 @@ const protocols = { // 需要做转换的 API 列表 }, showShareMenu: { name: 'showSharePanel' + }, + hideHomeButton: { + name: 'hideBackHome' } }; @@ -1021,12 +1024,21 @@ function createSelectorQuery () { return query } +function createIntersectionObserver (component, options) { + if (options && options.observeAll) { + options.selectAll = options.observeAll; + delete options.observeAll; + } + return my.createIntersectionObserver(options) +} + var api = /*#__PURE__*/Object.freeze({ setStorageSync: setStorageSync, getStorageSync: getStorageSync, removeStorageSync: removeStorageSync, startGyroscope: startGyroscope, - createSelectorQuery: createSelectorQuery + createSelectorQuery: createSelectorQuery, + createIntersectionObserver: createIntersectionObserver }); const PAGE_EVENT_HOOKS = [ diff --git a/packages/uni-mp-baidu/dist/index.js b/packages/uni-mp-baidu/dist/index.js index 9809866267f3a26b44d61baa190588b6bf99d228..8d92d8c53acb2705f99578935c21c10438b7f169 100644 --- a/packages/uni-mp-baidu/dist/index.js +++ b/packages/uni-mp-baidu/dist/index.js @@ -19,7 +19,7 @@ function hasOwn (obj, key) { return hasOwnProperty.call(obj, key) } -function noop () {} +function noop () { } /** * Create a cached version of a pure function. diff --git a/packages/uni-mp-qq/dist/index.js b/packages/uni-mp-qq/dist/index.js index d926672b00da67188909f32668809b24e7ede590..259cd9f96d816adfeee5f2ded700b0b0bacfb341 100644 --- a/packages/uni-mp-qq/dist/index.js +++ b/packages/uni-mp-qq/dist/index.js @@ -19,7 +19,7 @@ function hasOwn (obj, key) { return hasOwnProperty.call(obj, key) } -function noop () {} +function noop () { } /** * Create a cached version of a pure function. diff --git a/packages/uni-mp-toutiao/dist/index.js b/packages/uni-mp-toutiao/dist/index.js index e49173489cb35193fd1474c7c5115a026a20497c..41e0b59a2707aea4831bfbe344919e0114e9effe 100644 --- a/packages/uni-mp-toutiao/dist/index.js +++ b/packages/uni-mp-toutiao/dist/index.js @@ -19,7 +19,7 @@ function hasOwn (obj, key) { return hasOwnProperty.call(obj, key) } -function noop () {} +function noop () { } /** * Create a cached version of a pure function. diff --git a/packages/uni-mp-weixin/dist/index.js b/packages/uni-mp-weixin/dist/index.js index eed3ad93f4beb1479f26954ab88d1d7f7b77f05a..6129401510b42d4df01ad432b71c1ef38ba5932a 100644 --- a/packages/uni-mp-weixin/dist/index.js +++ b/packages/uni-mp-weixin/dist/index.js @@ -19,7 +19,7 @@ function hasOwn (obj, key) { return hasOwnProperty.call(obj, key) } -function noop () {} +function noop () { } /** * Create a cached version of a pure function.