mirror of
https://github.com/ngfchl/ptools
synced 2023-07-10 13:41:22 +08:00
优化细节
This commit is contained in:
@@ -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 = '通知推送'
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user