diff --git a/src/store.js b/src/store.js index 41da33b4..da176930 100644 --- a/src/store.js +++ b/src/store.js @@ -136,9 +136,11 @@ const store = new Vuex.Store({ }, mutations: { [SET_CONFIG](state, config) { + if (!config.appConfig) config.appConfig = {}; state.config = config; }, [SET_REMOTE_CONFIG](state, config) { + if (!config.appConfig) config.appConfig = {}; state.remoteConfig = config; }, [SET_LANGUAGE](state, lang) {