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): clone raw filter state
t8y227e75e9c811d
diff --git a/apps/desktop/src/components/grid/DataGrid.vue b/apps/desktop/src/components/grid/DataGrid.vueindex 03ff25b1be..61f42baa88 100644--- a/apps/desktop/src/components/grid/DataGrid.vue+++ b/apps/desktop/src/components/grid/DataGrid.vue@@ -24,7 +24,7 @@ const structuredFilterStateCache = new Map<string, StructuredFilterCacheState>()</script><script setup lang="ts">-import { computed, nextTick, onMounted, onUnmounted, onActivated, onDeactivated, ref, shallowRef, useSlots, watch, defineAsyncComponent, type Component, type CSSProperties } from "vue";+import { computed, nextTick, onMounted, onUnmounted, onActivated, onDeactivated, ref, shallowRef, toRaw, useSlots, watch, defineAsyncComponent, type Component, type CSSProperties } from "vue";import { useI18n } from "vue-i18n";import {ArrowUp,@@ -1938,7 +1938,8 @@ function persistStructuredFilterState() {manualWhereInput: whereFilterInput.value,rules: cloneStructuredFilterRules(structuredFilterRules.value),appliedWhereInput: appliedStructuredWhereInput.value,- serverColumnFilters: structuredClone(serverColumnFilters.value),+ // Vue wraps ref-held objects in proxies; structuredClone cannot clone those proxies.+ serverColumnFilters: structuredClone(toRaw(serverColumnFilters.value)),});}