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): restore original order in transpose sort cycle
二丫讲梵de5f9a4b7303
diff --git a/apps/desktop/src/components/grid/DataGrid.vue b/apps/desktop/src/components/grid/DataGrid.vueindex 04a7e51676..cb5a9f8db2 100644--- a/apps/desktop/src/components/grid/DataGrid.vue+++ b/apps/desktop/src/components/grid/DataGrid.vue@@ -10870,7 +10870,13 @@ function transposeFieldTitle(item: { column: string; type: string; comment?: str}function toggleTransposeColumnSort() {- transposeColumnSortDirection.value = transposeColumnSortDirection.value === "asc" ? "desc" : "asc";+ if (transposeColumnSortDirection.value === null) {+ transposeColumnSortDirection.value = "asc";+ } else if (transposeColumnSortDirection.value === "asc") {+ transposeColumnSortDirection.value = "desc";+ } else {+ transposeColumnSortDirection.value = null;+ }}function transposeColumnIndexKind(column: string): ColumnIndexKind | undefined {