From 3f58f527717f83b0915857f5fc4b5b611067dcaf Mon Sep 17 00:00:00 2001 From: Baobhan Sith <80159437+Heavrnl@users.noreply.github.com> Date: Thu, 17 Apr 2025 21:51:07 +0800 Subject: [PATCH] update --- packages/frontend/src/components/WorkspaceConnectionList.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/frontend/src/components/WorkspaceConnectionList.vue b/packages/frontend/src/components/WorkspaceConnectionList.vue index 43501bb..4e9e156 100644 --- a/packages/frontend/src/components/WorkspaceConnectionList.vue +++ b/packages/frontend/src/components/WorkspaceConnectionList.vue @@ -144,6 +144,7 @@ const handleMenuAction = (action: 'add' | 'edit' | 'delete') => { closeContextMenu(); // 先关闭菜单 if (action === 'add') { + console.log('[WorkspaceConnectionList] handleMenuAction called with action: add. Emitting request-add-connection...'); // 添加日志 // router.push('/connections/add'); // 改为触发事件 emit('request-add-connection'); } else if (conn) { @@ -196,9 +197,7 @@ const handleOpenInNewTab = (connectionId: number) => { :placeholder="t('workspaceConnectionList.searchPlaceholder')" class="search-input" /> - +