From dc2164dd625f977c9158cef7d24bcd3abac260d9 Mon Sep 17 00:00:00 2001 From: t8y2 <1156263951@qq.com> Date: Sat, 9 May 2026 23:49:18 +0800 Subject: [PATCH] fix(web): align file picker behavior --- .../connection/ConnectionDialog.vue | 5 +- src/components/import/TableImportDialog.vue | 57 ++++++++++++++----- .../sql-file/SqlFileExecutionDialog.vue | 42 ++++++++++++-- 3 files changed, 85 insertions(+), 19 deletions(-) diff --git a/src/components/connection/ConnectionDialog.vue b/src/components/connection/ConnectionDialog.vue index f10c63b049..329a9e9c7d 100644 --- a/src/components/connection/ConnectionDialog.vue +++ b/src/components/connection/ConnectionDialog.vue @@ -26,6 +26,7 @@ type ConfigTab = "connection" | "ssh"; const { t } = useI18n(); const { toast } = useToast(); const open = defineModel("open", { default: false }); +const isDesktop = isTauriRuntime(); const props = defineProps<{ editConfig?: ConnectionConfig; @@ -770,7 +771,7 @@ async function browseDbFilePath() {
- +