mirror of
https://github.com/certd/certd.git
synced 2026-04-23 19:57:27 +08:00
perf: 新增七牛云插件分组
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user