This commit is contained in:
Malus
2024-06-26 01:33:13 +00:00
committed by GitHub

View File

@@ -9,6 +9,7 @@ interface Props {
itemAlign?: NaiveUI.Align;
disabledDelete?: boolean;
loading?: boolean;
showBatchDelete?: boolean;
}
defineProps<Props>();
@@ -50,7 +51,7 @@ function refresh() {
</NButton>
<NPopconfirm @positive-click="batchDelete">
<template #trigger>
<NButton size="small" ghost type="error" :disabled="disabledDelete">
<NButton size="small" ghost type="error" :disabled="disabledDelete" v-show="!showBatchDelete" >
<template #icon>
<icon-ic-round-delete class="text-icon" />
</template>