mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-04-02 14:32:21 +00:00
chore: improve code
This commit is contained in:
parent
f499427916
commit
37df855249
2 changed files with 2 additions and 1 deletions
|
@ -29,6 +29,7 @@ class PushPlus extends NotificationProvider {
|
||||||
"template": "html"
|
"template": "html"
|
||||||
};
|
};
|
||||||
await axios.post(url, params, config);
|
await axios.post(url, params, config);
|
||||||
|
return okMsg;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
this.throwGeneralAxiosError(error);
|
this.throwGeneralAxiosError(error);
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<HiddenInput id="pushPlus-sendkey" v-model="$parent.notification.pushPlusSendKey" :required="true" autocomplete="new-password"></HiddenInput>
|
<HiddenInput id="pushPlus-sendkey" v-model="$parent.notification.pushPlusSendKey" :required="true" autocomplete="new-password"></HiddenInput>
|
||||||
</div>
|
</div>
|
||||||
<i18n-t tag="div" keypath="More info on:" class="mb-3 form-text">
|
<i18n-t tag="div" keypath="More info on:" class="mb-3 form-text">
|
||||||
<a href="https://www.pushplus.plus/" target="_blank">https://www.pushplus.plus/</a>
|
<a href="https://www.pushplus.plus/" target="_blank">https://www.pushplus.plus/</a>
|
||||||
</i18n-t>
|
</i18n-t>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue