|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
import defaultSettings from '@/settings'
|
|
|
|
|
|
|
|
|
|
const { sideTheme, showSettings, topNav, tagsView, fixedHeader, sidebarLogo, dynamicTitle } = defaultSettings
|
|
|
|
|
const { sideTheme, showSettings,poolNav, topNav, tagsView, fixedHeader, sidebarLogo, dynamicTitle } = defaultSettings
|
|
|
|
|
|
|
|
|
|
const storageSetting = JSON.parse(localStorage.getItem('layout-setting')) || ''
|
|
|
|
|
const state = {
|
|
|
|
@ -9,6 +9,7 @@ const state = {
|
|
|
|
|
sideTheme: storageSetting.sideTheme || sideTheme,
|
|
|
|
|
showSettings: showSettings,
|
|
|
|
|
topNav: storageSetting.topNav === undefined ? topNav : storageSetting.topNav,
|
|
|
|
|
poolNav: poolNav,
|
|
|
|
|
tagsView: storageSetting.tagsView === undefined ? tagsView : storageSetting.tagsView,
|
|
|
|
|
fixedHeader: storageSetting.fixedHeader === undefined ? fixedHeader : storageSetting.fixedHeader,
|
|
|
|
|
sidebarLogo: storageSetting.sidebarLogo === undefined ? sidebarLogo : storageSetting.sidebarLogo,
|
|
|
|
|