使用wx.config

This commit is contained in:
aixianling
2022-07-25 11:57:08 +08:00
parent 846a8ff7d7
commit cf73adb081

View File

@@ -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)