fix(projects): 🐛 home tab disabled (#16)

This commit is contained in:
一寸灰
2024-12-08 13:20:27 +08:00
committed by GitHub
parent 4de34f5abd
commit cffb5c16b1

View File

@@ -125,11 +125,12 @@ function handleDropdown(optionKey: App.Global.DropdownKey) {
<template #dropdown>
<ElDropdownMenu>
<ElDropdownItem
v-for="{ key, label, icon } in options"
v-for="{ key, label, icon, disabled } in options"
:key="key"
class="mx-4px my-1px rounded-6px"
:icon="icon"
:command="key"
:disabled="disabled"
>
{{ label }}
</ElDropdownItem>