产品库增加企微端登录,登录修复

This commit is contained in:
aixianling
2022-06-13 20:07:22 +08:00
parent ff0414cb79
commit a8a684e3d4

View File

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