perf: 创建流水线时,默认成功时也发送通知

v2-dev
xiaojunnuo 2025-01-20 16:20:14 +08:00
parent c30adb2671
commit 52ae6902d2
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ export default function ({ crudExpose, context: { certdFormRef, groupDictRef, se
if (form.notification != null) {
notifications.push({
type: "custom",
when: ["error", "turnToSuccess"],
when: ["error", "turnToSuccess", "success"],
notificationId: form.notification,
title: form.notificationTarget?.name || "自定义通知"
});