feat: 保存导航链接侧边栏折叠状态和搜索类型

This commit is contained in:
2024-09-01 18:01:04 +08:00
parent c2d6fa1c86
commit 7c0fb75913
2 changed files with 23 additions and 2 deletions

View File

@@ -3,5 +3,11 @@
/** 储存 key 前缀 */
const PREFIX = 'frost-navigation/';
/** 导航链接侧边栏折叠状态 */
export const SKEY_NAV_LINK_ASIDE_COLLAPSED = PREFIX + 'nav-link-aside-collapsed';
/** 导航链接搜索类型 */
export const SKEY_NAV_LINK_SEARCH_TYPE = PREFIX + 'nav-link-search-type';
/** 当前使用的搜索引擎名称 */
export const SKEY_SEARCH_ENGINE_NAME = PREFIX + 'search-engine-name';