From e99eb43437abc754f70d60e53676e9edfd6af3eb Mon Sep 17 00:00:00 2001 From: aixianling Date: Wed, 20 Jul 2022 14:24:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96injectJWeixin=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E5=8E=BB=E9=99=A4=E5=92=8C=E5=8E=BB=E7=A9=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/modules.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/modules.js b/src/common/modules.js index dc4fa250..24b2bb6b 100644 --- a/src/common/modules.js +++ b/src/common/modules.js @@ -259,7 +259,7 @@ export const wxwork = { }) }, 50) }) - return inject([apis].flat()) + return inject([apis].flat().filter(Boolean)) }, wxInvoke(state, op) { setTimeout(() => {