This commit is contained in:
Baobhan Sith
2025-04-25 00:42:08 +08:00
parent d1de8e627a
commit 4b8490bf48
2 changed files with 40 additions and 17 deletions
@@ -54,6 +54,7 @@ export const useFocusSwitcherStore = defineStore('focusSwitcher', () => {
{ id: 'terminalSearch', label: t('focusSwitcher.input.terminalSearch', '终端内搜索') },
{ id: 'connectionListSearch', label: t('focusSwitcher.input.connectionListSearch', '连接列表搜索') },
{ id: 'fileEditorActive', label: t('focusSwitcher.input.fileEditorActive', '文件编辑器') },
{ id: 'fileManagerPathInput', label: t('focusSwitcher.input.fileManagerPathInput', '文件管理器路径编辑') },
]);
const sequenceOrder = ref<string[]>([]); // +++ 新增:存储顺序 +++
const itemConfigs = ref<Record<string, FocusItemConfig>>({}); // +++ 新增:存储所有配置 +++