Skip to content

armgit / dbx

Public Imported from GitHub
0

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。

fix(desktop): satisfy vue-tsc style typing in app tab bar

t8y2cc38cf6062c6
diff --git a/apps/desktop/src/components/layout/AppTabBar.vue b/apps/desktop/src/components/layout/AppTabBar.vue
index 452185f11f..086856f234 100644
--- a/apps/desktop/src/components/layout/AppTabBar.vue
+++ b/apps/desktop/src/components/layout/AppTabBar.vue
@@ -1,5 +1,6 @@
<script setup lang="ts">
import { computed, ref, watch, nextTick } from "vue";
+import type { CSSProperties } from "vue";
import { useI18n } from "vue-i18n";
import { X, Pin, ChevronDown, Table2, Code2, TableProperties, Package, Check } from "lucide-vue-next";
import {
@@ -134,11 +135,11 @@ function activateDataTab(tabId: string) {
emit("close-driver-store");
}
-const tabsContainerStyle = computed(() => ({
- "-ms-overflow-style": "none",
- "scrollbar-width": "none",
- "-webkit-overflow-scrolling": "touch",
- "padding-right": showPinnedDataTabsMenu.value ? "36px" : "0px",
+const tabsContainerStyle = computed<CSSProperties>(() => ({
+ msOverflowStyle: "none",
+ scrollbarWidth: "none",
+ WebkitOverflowScrolling: "touch",
+ paddingRight: showPinnedDataTabsMenu.value ? "36px" : "0px",
}));
const dataTabsMenuContainerClass = computed(() =>