From a8a684e3d4fc4e485e3c430eecce6339066c1b49 Mon Sep 17 00:00:00 2001 From: aixianling Date: Mon, 13 Jun 2022 20:07:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=A7=E5=93=81=E5=BA=93=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E4=BC=81=E5=BE=AE=E7=AB=AF=E7=99=BB=E5=BD=95,=E7=99=BB?= =?UTF-8?q?=E5=BD=95=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/modules.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/common/modules.js b/src/common/modules.js index e9822403..2bed1eba 100644 --- a/src/common/modules.js +++ b/src/common/modules.js @@ -12,11 +12,6 @@ export const config = { for (const key in params) { Vue.set(state, key, params[key]) } - }, - clearConfig(state) { - for (const key in state) { - delete state[key] - } } }, actions: { @@ -49,7 +44,6 @@ export const config = { ...res.data, agentSignURL: url } - if (!!state.corpid && res.data.corpid != state.corpid) commit('clearConfig') commit("getConfig", config) return config }