perf: 新增七牛云插件分组

This commit is contained in:
xiaojunnuo
2024-12-02 16:35:31 +08:00
parent 72cc586f88
commit 49e7dc56e1
5 changed files with 12 additions and 13 deletions
@@ -107,11 +107,10 @@ export default function (certPluginGroup: PluginGroup, formWrapperRef: any): Cre
title: "失败通知",
type: "text",
form: {
value: 0,
value: true,
component: {
name: NotificationSelector,
vModel: "modelValue",
useDefault: true
name: "a-switch",
vModel: "checked"
},
order: 101,
helper: "建议设置,任务执行失败实时提醒"
@@ -103,12 +103,11 @@ export default function ({ crudExpose, context: { certdFormRef, groupDictRef, se
}
const notifications = [];
if (form.notification) {
const notify = await createNotificationApi().GetSimpleInfo(form.notification);
notifications.push({
type: "custom",
when: ["error", "turnToSuccess"],
notificationId: form.notification,
title: notify.name
notificationId: 0,
title: "使用默认通知"
});
}
let pipeline = {