From cf73adb081409c61e4fbe562f730d9ba2f6500d2 Mon Sep 17 00:00:00 2001 From: aixianling Date: Mon, 25 Jul 2022 11:57:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E7=94=A8wx.config?= 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 e9c0b5bb..adbcb4ef 100644 --- a/src/common/modules.js +++ b/src/common/modules.js @@ -366,7 +366,7 @@ export const wxwork = { }, 200) } } - wx.config({...state.config, jsApiList: []}) + wx.config({...state.config, appId: state.config.corpId, jsApiList: []}) wx.ready(() => loadSdk()) wx.error(err => { console.log(state.config)