diff --git a/src/store/modules/common.js b/src/store/modules/common.js index ab92881..050ef90 100644 --- a/src/store/modules/common.js +++ b/src/store/modules/common.js @@ -13,13 +13,13 @@ const common = { showDebug: getStore({ name: 'showDebug' }), showCollapse: getStore({ name: 'showCollapse' }), showSearch: getStore({ name: 'showSearch' }), - showLock: getStore({ name: 'showLock' }), - showFullScreen: getStore({ name: 'showFullScreen' }), - showTheme: getStore({ name: 'showTheme' }), - showColor: getStore({ name: 'showColor' }), + showLock: getStore({ name: 'showLock' })|| false, + showFullScreen: getStore({ name: 'showFullScreen' }) || false, + showTheme: getStore({ name: 'showTheme' })|| false, + showColor: getStore({ name: 'showColor' })|| false, showMenu: getStore({ name: 'showMenu' }), theme: getStore({ name: 'theme' }) || '#409EFF', - themeName: getStore({ name: 'themeName' }) || 'theme-white', + themeName: getStore({ name: 'themeName' }) || 'default', lockPasswd: getStore({ name: 'lockPasswd' }) || '', website: website },