refactor(app): 修改本地储存数据处理逻辑,统一管理
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
// 本地储存 key 信息
|
||||
|
||||
/** 储存 key 前缀 */
|
||||
const PREFIX = 'frost-navigation/';
|
||||
|
||||
/** 导航链接侧边栏折叠状态 */
|
||||
export const SKEY_NAV_LINK_ASIDE_COLLAPSED = PREFIX + 'nav-link-aside-collapsed';
|
||||
|
||||
/** 导航链接当前选中分类 */
|
||||
export const SKEY_NAV_LINK_CATEGORY = PREFIX + 'nav-link-category';
|
||||
|
||||
/** 导航链接搜索类型 */
|
||||
export const SKEY_NAV_LINK_SEARCH_TYPE = PREFIX + 'nav-link-search-type';
|
||||
|
||||
/** 当前使用的搜索引擎名称 */
|
||||
export const SKEY_SEARCH_ENGINE_NAME = PREFIX + 'search-engine-name';
|
||||
Reference in New Issue
Block a user