perf: change the trigger of the "more action" button to click

This commit is contained in:
Lykin 2024-03-08 17:16:02 +08:00
parent 2d2954d81c
commit aa291f742d
2 changed files with 2 additions and 0 deletions

View File

@ -395,6 +395,7 @@ watch(
:render-label="({ label }) => $t(label)" :render-label="({ label }) => $t(label)"
placement="top-end" placement="top-end"
style="min-width: 130px" style="min-width: 130px"
trigger="click"
@select="onSelectOptions"> @select="onSelectOptions">
<icon-button :button-class="['nav-pane-func-btn']" :icon="More" :stroke-width="3.5" size="20" /> <icon-button :button-class="['nav-pane-func-btn']" :icon="More" :stroke-width="3.5" size="20" />
</n-dropdown> </n-dropdown>

View File

@ -69,6 +69,7 @@ const onSelectOptions = async (select) => {
:render-label="({ label }) => $t(label)" :render-label="({ label }) => $t(label)"
placement="top-end" placement="top-end"
style="min-width: 130px" style="min-width: 130px"
trigger="click"
@select="onSelectOptions"> @select="onSelectOptions">
<icon-button :button-class="['nav-pane-func-btn']" :icon="More" :stroke-width="3.5" size="20" /> <icon-button :button-class="['nav-pane-func-btn']" :icon="More" :stroke-width="3.5" size="20" />
</n-dropdown> </n-dropdown>