产品库增加企微端登录,登录修复
This commit is contained in:
@@ -12,11 +12,6 @@ export const config = {
|
|||||||
for (const key in params) {
|
for (const key in params) {
|
||||||
Vue.set(state, key, params[key])
|
Vue.set(state, key, params[key])
|
||||||
}
|
}
|
||||||
},
|
|
||||||
clearConfig(state) {
|
|
||||||
for (const key in state) {
|
|
||||||
delete state[key]
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
actions: {
|
actions: {
|
||||||
@@ -49,7 +44,6 @@ export const config = {
|
|||||||
...res.data,
|
...res.data,
|
||||||
agentSignURL: url
|
agentSignURL: url
|
||||||
}
|
}
|
||||||
if (!!state.corpid && res.data.corpid != state.corpid) commit('clearConfig')
|
|
||||||
commit("getConfig", config)
|
commit("getConfig", config)
|
||||||
return config
|
return config
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user