25 MB lightweight cross-platform database client for 100+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker. | 轻量级跨平台数据库管理工具,支持 MySQL、PostgreSQL、SQLite、Redis、MongoDB、达梦等 100+ 数据库,提供桌面端、Docker、CLI、内置 AI 助手和 MCP。
TypeScript aicliclickhousedatabasedatabase-clientdatabase-managementdockerguimcpmongodbmysqlpostgresqlredisrustsql-serversqlitetaurivue
fix(grid): remove unused search memo key function and computed property
t8y24cd0f2367be6
diff --git a/apps/desktop/src/components/grid/DataGrid.vue b/apps/desktop/src/components/grid/DataGrid.vueindex fd8e86a637..c8532073ab 100644--- a/apps/desktop/src/components/grid/DataGrid.vue+++ b/apps/desktop/src/components/grid/DataGrid.vue@@ -1632,24 +1632,6 @@ const searchMatchSet = computed(() => {return set;});-const searchRowMemoKeys = computed(() => {- const rows = new Map<number, string[]>();- for (const match of searchMatches.value) {- const row = rows.get(match.displayRow) ?? [];- row.push(String(match.col));- rows.set(match.displayRow, row);- }-- const current = searchMatches.value[currentMatchIndex.value];- if (current) {- const row = rows.get(current.displayRow) ?? [];- row.push(`current:${current.col}`);- rows.set(current.displayRow, row);- }-- return new Map([...rows].map(([row, parts]) => [row, parts.join("|")]));-});-watch(searchMatches, (matches) => {currentMatchIndex.value = matches.length > 0 ? 0 : -1;});@@ -1665,10 +1647,6 @@ function cellIsCurrentMatch(displayRow: number, col: number): boolean {return m.displayRow === displayRow && m.col === col;}-function rowSearchMemoKey(index: number): string {- return searchRowMemoKeys.value.get(index) ?? "";-}-function navigateMatch(delta: number) {const total = searchMatches.value.length;if (total === 0) return;