From 7f8a07bd75acaab87e1bffccd1d959b3f4dce024 Mon Sep 17 00:00:00 2001 From: Angus Yang <1994101600@qq.com> Date: Thu, 27 Apr 2023 15:15:31 +0800 Subject: [PATCH] typo: Spelling error --- src/store/modules/setting.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/store/modules/setting.js b/src/store/modules/setting.js index 58471ce2..a9ee9f23 100644 --- a/src/store/modules/setting.js +++ b/src/store/modules/setting.js @@ -6,7 +6,7 @@ import {getLocalSetting} from '@/utils/themeUtil' import deepClone from 'lodash.clonedeep' const localSetting = getLocalSetting(true) -const customTitlesStr = sessionStorage.getItem(process.env.VUE_APP_TBAS_TITLES_KEY) +const customTitlesStr = sessionStorage.getItem(process.env.VUE_APP_TABS_TITLES_KEY) const customTitles = (customTitlesStr && JSON.parse(customTitlesStr)) || [] export default { @@ -107,7 +107,7 @@ export default { } else { state.customTitles.push({path, title}) } - sessionStorage.setItem(process.env.VUE_APP_TBAS_TITLES_KEY, JSON.stringify(state.customTitles)) + sessionStorage.setItem(process.env.VUE_APP_TABS_TITLES_KEY, JSON.stringify(state.customTitles)) } } }