(context?: ExportEditorContext)
| 13 | * Open the export tab with optional context |
| 14 | */ |
| 15 | export function openExportTab(context?: ExportEditorContext): void { |
| 16 | stores.tab.openTab({ |
| 17 | id: uuidv4(), |
| 18 | type: 'export', |
| 19 | title: '导出', |
| 20 | closable: true, |
| 21 | context |
| 22 | } as Parameters<typeof stores.tab.openTab>[0] & { context?: ExportEditorContext }) |
| 23 | } |
| 24 | |
| 25 | /** |
| 26 | * Export messages from a page |
no test coverage detected