From 4701eb2b463fa535edf5e4935c25baa65c174203 Mon Sep 17 00:00:00 2001 From: DCloud_LXH <283700113@qq.com> Date: Thu, 8 Sep 2022 14:50:21 +0800 Subject: [PATCH] =?UTF-8?q?fix(mp-alipay-plugin):=20=E5=9C=A8=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E4=B8=AD=E4=BD=BF=E7=94=A8=20uni.loading=20=E7=AD=89?= =?UTF-8?q?=E6=96=B9=E6=B3=95=E6=98=AF=20undefined=20fixed=20#2974?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/runtime/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/runtime/index.js b/src/core/runtime/index.js index 0f0c8f515..dce0129c2 100644 --- a/src/core/runtime/index.js +++ b/src/core/runtime/index.js @@ -67,7 +67,7 @@ if (typeof Proxy !== 'undefined' && __PLATFORM__ !== 'app-plus') { if (eventApi[name]) { return eventApi[name] } - if (!hasOwn(__GLOBAL__, name) && !hasOwn(protocols, name)) { + if (typeof __GLOBAL__[name] !== 'function' && !hasOwn(protocols, name)) { return } return promisify(name, wrapper(name, __GLOBAL__[name])) -- GitLab