From aa291f742d89115985fa5e375ff698d44db9c728 Mon Sep 17 00:00:00 2001 From: Lykin <137850705+tiny-craft@users.noreply.github.com> Date: Fri, 8 Mar 2024 17:16:02 +0800 Subject: [PATCH] perf: change the trigger of the "more action" button to click --- frontend/src/components/sidebar/BrowserPane.vue | 1 + frontend/src/components/sidebar/ConnectionPane.vue | 1 + 2 files changed, 2 insertions(+) diff --git a/frontend/src/components/sidebar/BrowserPane.vue b/frontend/src/components/sidebar/BrowserPane.vue index 863c616..7d68a26 100644 --- a/frontend/src/components/sidebar/BrowserPane.vue +++ b/frontend/src/components/sidebar/BrowserPane.vue @@ -395,6 +395,7 @@ watch( :render-label="({ label }) => $t(label)" placement="top-end" style="min-width: 130px" + trigger="click" @select="onSelectOptions"> diff --git a/frontend/src/components/sidebar/ConnectionPane.vue b/frontend/src/components/sidebar/ConnectionPane.vue index b551917..3cbe1fc 100644 --- a/frontend/src/components/sidebar/ConnectionPane.vue +++ b/frontend/src/components/sidebar/ConnectionPane.vue @@ -69,6 +69,7 @@ const onSelectOptions = async (select) => { :render-label="({ label }) => $t(label)" placement="top-end" style="min-width: 130px" + trigger="click" @select="onSelectOptions">