Commit fa5ecb090fb4ecde4b5f6b14f2a5fdb97f67e1e9
Committed by
GitHub
1 parent
4f9c7110
fix(Dropdown): still pop when disabled is true; (#2935)
Co-authored-by: chenguangzhuang <chenguangzhuang@techpci.com>
Showing
1 changed file
with
1 additions
and
0 deletions
src/components/Dropdown/src/Dropdown.vue
@@ -14,6 +14,7 @@ | @@ -14,6 +14,7 @@ | ||
14 | <a-popconfirm | 14 | <a-popconfirm |
15 | v-if="popconfirm && item.popConfirm" | 15 | v-if="popconfirm && item.popConfirm" |
16 | v-bind="getPopConfirmAttrs(item.popConfirm)" | 16 | v-bind="getPopConfirmAttrs(item.popConfirm)" |
17 | + :disabled="item.disabled" | ||
17 | > | 18 | > |
18 | <template #icon v-if="item.popConfirm.icon"> | 19 | <template #icon v-if="item.popConfirm.icon"> |
19 | <Icon :icon="item.popConfirm.icon" /> | 20 | <Icon :icon="item.popConfirm.icon" /> |