feat: add disabled state to Popconfirm in action-buttons component

pull/56/head
chenminjie 2024-12-03 19:06:53 +08:00
parent c77fb9c84a
commit 4fbed026d1
1 changed files with 1 additions and 0 deletions

View File

@ -130,6 +130,7 @@ const handleMenuClick = (e: any) => {
<template v-for="(action, index) in getActions" :key="index"> <template v-for="(action, index) in getActions" :key="index">
<Popconfirm <Popconfirm
v-if="action.popConfirm" v-if="action.popConfirm"
:disabled="action.disabled"
v-bind="getPopConfirmProps(action.popConfirm)" v-bind="getPopConfirmProps(action.popConfirm)"
> >
<template v-if="action.popConfirm.icon" #icon> <template v-if="action.popConfirm.icon" #icon>