feat(query): close individual query result and release result session

This commit is contained in:
二丫讲梵 authored and GitHub committed 2026-08-10 22:40:36 +08:00
1 parent 044bedaabe
commit 3663dc4d7b
14 files changed
+166 -1

No files matched your search

+2 -1
View File
@@ -2182,7 +2182,7 @@ function handleNativeSelectAll(e: KeyboardEvent) {
if (shouldBlockAppNativeSelectAll(e)) e.preventDefault();
}
function handleKeydown(e: KeyboardEvent) {
async function handleKeydown(e: KeyboardEvent) {
if (e.defaultPrevented) return;
const shortcuts = settingsStore.editorSettings.shortcuts;
@@ -2260,6 +2260,7 @@ function handleKeydown(e: KeyboardEvent) {
} else if (showDriverStore.value) {
closeDriverStorePage();
} else if (queryStore.activeTabId) {
if (await queryStore.clearQueryResults(queryStore.activeTabId)) return;
queryStore.closeTab(queryStore.activeTabId);
}
return;