update
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user