fix(web): Dropdown trigger 传数组以消除 prop 警告

This commit is contained in:
2026-10-08 00:47:04 +08:00
parent b808be324d
commit 9aed3cbe8d
+1 -1
View File
@@ -119,7 +119,7 @@ async function onUserMenuClick({ key }: MenuInfo) {
<a-dropdown
:menu="{ items: userMenuItems }"
placement="bottomRight"
trigger="click"
:trigger="['click']"
@menu-click="onUserMenuClick"
>
<a class="admin-layout__account">