diff --git a/src/components/setting/config-notification.vue b/src/components/setting/config-notification.vue index 51fef8f1..3cf016c0 100644 --- a/src/components/setting/config-notification.vue +++ b/src/components/setting/config-notification.vue @@ -5,7 +5,7 @@ import type { SettingItem } from '#/components'; const { getSettingGroup } = useConfigStore(); const notification = getSettingGroup('notification'); -const notificationType: NotificationType = ['telegram', 'server-chan', 'bark']; +const notificationType: NotificationType = ['telegram', 'server-chan', 'bark', 'wecom']; const items: SettingItem[] = [ { diff --git a/types/config.ts b/types/config.ts index 3982628f..12c19937 100644 --- a/types/config.ts +++ b/types/config.ts @@ -43,7 +43,7 @@ export interface Config { }; notification: { enable: boolean; - type: 'telegram' | 'server-chan' | 'bark'; + type: 'telegram' | 'server-chan' | 'bark' | 'wecom'; token: string; chat_id: string; };