mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-10 04:22:09 +08:00
feat(*): support WeCom notification
This commit is contained in:
12
src/components/notifications/WeCom.vue
Normal file
12
src/components/notifications/WeCom.vue
Normal file
@@ -0,0 +1,12 @@
|
||||
<template>
|
||||
<div class="mb-3">
|
||||
<label for="WeCom Bot Key" class="form-label">{{ $t("WeCom Bot Key") }}<span style="color: red;"><sup>*</sup></span></label>
|
||||
<input id="WeCom Bot Key" v-model="$parent.notification.weComBotKey" type="text" class="form-control" required>
|
||||
<div class="form-text">
|
||||
<p><span style="color: red;"><sup>*</sup></span>{{ $t("Required") }}</p>
|
||||
</div>
|
||||
<i18n-t tag="p" keypath="Read more:">
|
||||
<a href="https://work.weixin.qq.com/api/doc/90000/90136/91770" target="_blank">https://work.weixin.qq.com/api/doc/90000/90136/91770</a>
|
||||
</i18n-t>
|
||||
</div>
|
||||
</template>
|
@@ -24,6 +24,7 @@ import DingDing from "./DingDing.vue";
|
||||
import Bark from "./Bark.vue";
|
||||
import SerwerSMS from "./SerwerSMS.vue";
|
||||
import Stackfield from './Stackfield.vue';
|
||||
import WeCom from "./WeCom.vue";
|
||||
|
||||
/**
|
||||
* Manage all notification form.
|
||||
@@ -57,6 +58,7 @@ const NotificationFormList = {
|
||||
"Bark": Bark,
|
||||
"serwersms": SerwerSMS,
|
||||
"stackfield": Stackfield,
|
||||
"WeCom": WeCom,
|
||||
}
|
||||
|
||||
export default NotificationFormList
|
||||
|
Reference in New Issue
Block a user