优化细节

This commit is contained in:
ngfchl
2022-12-07 19:28:12 +08:00
parent a3fd06248c
commit c8bad7a1ea
2 changed files with 12 additions and 6 deletions

View File

@@ -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 = '通知推送'

View File

@@ -75,11 +75,14 @@
<el-row v-if="showList">
<el-row :gutter="20">
<el-col :xs="24" :sm="12" :md="8" :lg="6" :xl="4"
style="margin-bottom: 10px;float: right;">
style="margin-bottom: 10px;float: right;text-align: right;">
<el-button size="mini" type="success" @click="addSite">添加
</el-button>
<el-input autofocus
:span="6"
prefix-icon="el-icon-search"
clearable
size="mini"
style="width: 75%;"
v-model="searchKey"
@input="siteSearch"
placeholder="请输入站点名称或者网址搜索">
@@ -593,8 +596,11 @@
});
})
},
changeLength() {
addSite() {
this.$message({
type: 'warning',
message: '开发中,敬请期待!'
});
},
showAllIncrementHistory($event) {
console.log($event)