feat: 添加完成事件触发

为CustomRuleCard、FilterRuleGroupCard、NotificationChannelCard和AccountSettingDirectory组件添加done事件触发,以便在完成相关操作后通知其他组件。
This commit is contained in:
jxxghp
2024-09-19 13:21:12 +08:00
parent 95d8b3d1a6
commit 153fe8fcd0
7 changed files with 27 additions and 9 deletions

View File

@@ -145,7 +145,11 @@ onMounted(() => {
:component-data="{ 'class': 'grid gap-3 grid-app-card' }"
>
<template #item="{ element }">
<NotificationChannelCard :notification="element" @close="removeNotification(element)" />
<NotificationChannelCard
:notification="element"
@close="removeNotification(element)"
@done="saveNotificationSetting"
/>
</template>
</draggable>
</VCardText>