From 1ad60f2537a69905c78220869437bac4fa37e327 Mon Sep 17 00:00:00 2001 From: t8y2 <1156263951@qq.com> Date: Thu, 30 Apr 2026 22:22:22 +0800 Subject: [PATCH] fix: remove unused activeTabContext computed --- src/App.vue | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/src/App.vue b/src/App.vue index eea15211b4..aa12baa9ea 100644 --- a/src/App.vue +++ b/src/App.vue @@ -149,25 +149,6 @@ const editorDialect = computed<"mysql" | "postgres">(() => activeConnection.value?.db_type === "postgres" ? "postgres" : "mysql" ); -const activeTabContext = computed(() => { - const tab = activeTab.value; - const connection = activeConnection.value; - if (!tab || !connection) return []; - - const items = [ - connection.name, - connectionDriverLabel(connection), - ]; - - if (tab.tableMeta?.tableName) { - items.push(tab.tableMeta.schema - ? `${tab.tableMeta.schema}.${tab.tableMeta.tableName}` - : tab.tableMeta.tableName); - } - - return items; -}); - const activeDatabaseOptions = computed(() => { const connection = activeConnection.value; return connection ? databaseOptions.value[connection.id] ?? [] : [];