From c8bad7a1eaaba87ffb5ca0a0068ca6d0eb58e011 Mon Sep 17 00:00:00 2001 From: ngfchl Date: Wed, 7 Dec 2022 19:28:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- auto_pt/models.py | 4 ++-- templates/auto_pt/status.html | 14 ++++++++++---- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/auto_pt/models.py b/auto_pt/models.py index bb45105..0bb8c62 100644 --- a/auto_pt/models.py +++ b/auto_pt/models.py @@ -78,8 +78,8 @@ class Notify(BaseEntity): touser = models.CharField(verbose_name='接收者', max_length=64, help_text='接收者用户名/UID', null=True, blank=True) - custom_server = models.URLField(verbose_name='自定义服务器', null=True, blank=True, - help_text='无自定义服务器的,请勿填写!') + custom_server = models.URLField(verbose_name='服务器', null=True, blank=True, + help_text='IYuu与BARK请必填,详情参考教程!') class Meta: verbose_name = '通知推送' diff --git a/templates/auto_pt/status.html b/templates/auto_pt/status.html index 44d69ed..e4182e6 100644 --- a/templates/auto_pt/status.html +++ b/templates/auto_pt/status.html @@ -75,11 +75,14 @@ + style="margin-bottom: 10px;float: right;text-align: right;"> + 添加 + @@ -593,8 +596,11 @@ }); }) }, - changeLength() { - + addSite() { + this.$message({ + type: 'warning', + message: '开发中,敬请期待!' + }); }, showAllIncrementHistory($event) { console.log($event)