修复BUG
This commit is contained in:
@@ -275,7 +275,7 @@ export const wxwork = {
|
||||
},
|
||||
getCode({state, dispatch}, params) {
|
||||
const excute = (tryAgentSign = false) => {
|
||||
if (!params.appid) {
|
||||
if (!params?.appid) {
|
||||
let {corpid: corpId, suiteId, agentid} = state.config, scope = "snsapi_privateinfo"
|
||||
if (/AppForm/.test(location.pathname)) {
|
||||
scope = "snsapi_base"
|
||||
|
||||
Reference in New Issue
Block a user