chore: improve code

This commit is contained in:
Teror Fox 2025-03-26 23:30:59 +08:00 committed by GitHub
parent f499427916
commit 37df855249
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions
server/notification-providers
src/components/notifications

View file

@ -29,6 +29,7 @@ class PushPlus extends NotificationProvider {
"template": "html"
};
await axios.post(url, params, config);
return okMsg;
} catch (error) {
this.throwGeneralAxiosError(error);
}

View file

@ -4,7 +4,7 @@
<HiddenInput id="pushPlus-sendkey" v-model="$parent.notification.pushPlusSendKey" :required="true" autocomplete="new-password"></HiddenInput>
</div>
<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>
</template>