src/store/modules/settings.js
@@ -5,7 +5,8 @@ const state = { showSettings: showSettings, fixedHeader: fixedHeader, sidebarLogo: sidebarLogo sidebarLogo: sidebarLogo, link:'' } const mutations = { @@ -14,6 +15,9 @@ if (state.hasOwnProperty(key)) { state[key] = value } }, SAVE_LINK(state,link){ state.link = link } }