mirror of
https://github.com/ngfchl/ptools
synced 2023-07-10 13:41:22 +08:00
进入页面时提醒10分钟后停止刷新,停止刷新时设置刷新按钮
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
}
|
||||
|
||||
.bottom_xf {
|
||||
background-color: rgba(255 165 0 /50%);
|
||||
background-color: rgba(218 165 32 /50%);
|
||||
width: 100%;
|
||||
height: 28px;
|
||||
margin: auto;
|
||||
@@ -526,6 +526,9 @@
|
||||
},
|
||||
mounted() {
|
||||
this.loading = true
|
||||
this.$message({
|
||||
type: 'warning', message: '下载器将在十分钟后停止刷新!'
|
||||
});
|
||||
{#console.log("获取下载器数量:", this.downloaders.length)#}
|
||||
{#this.get_downloading(this.downloaders[0].id)#}
|
||||
},
|
||||
@@ -534,6 +537,7 @@
|
||||
setTimeout(() => {
|
||||
clearInterval(this.timer)
|
||||
this.timer = null
|
||||
this.refresh = true
|
||||
}, 1000 * 60 * 10)
|
||||
},
|
||||
beforeUpdated() {
|
||||
|
||||
Reference in New Issue
Block a user