This commit is contained in:
Baobhan Sith
2025-05-23 21:04:54 +08:00
parent 9f6d8258af
commit ac519b8c8f
2 changed files with 2 additions and 2 deletions
@@ -22,7 +22,7 @@ export type WorkspaceEventPayloads = {
'editor:closeOtherTabs': { tabId: string }; 'editor:closeOtherTabs': { tabId: string };
'editor:closeTabsToRight': { tabId: string }; 'editor:closeTabsToRight': { tabId: string };
'editor:closeTabsToLeft': { tabId: string }; 'editor:closeTabsToLeft': { tabId: string };
'editor:updateScrollPosition': { tabId: string; scrollTop: number; scrollLeft: number }; // 新增编辑器滚动事件 'editor:updateScrollPosition': { tabId: string; scrollTop: number; scrollLeft: number };
// Connection Events // Connection Events
'connection:connect': { connectionId: number }; // 来自 WorkspaceConnectionList 或其他地方 'connection:connect': { connectionId: number }; // 来自 WorkspaceConnectionList 或其他地方
@@ -138,7 +138,7 @@ export const useSessionStore = defineStore('session', () => {
closeOtherTabsInSession, closeOtherTabsInSession,
closeTabsToTheRightInSession, closeTabsToTheRightInSession,
closeTabsToTheLeftInSession, closeTabsToTheLeftInSession,
updateTabScrollPositionInSession, // +++ 导出新的 action +++ updateTabScrollPositionInSession,
openRdpModal, openRdpModal,
closeRdpModal, closeRdpModal,
openVncModal, openVncModal,