From 2fcb882a2ca9ae3d895bb53605f8373602527bf7 Mon Sep 17 00:00:00 2001 From: ngfchl Date: Mon, 3 Oct 2022 15:34:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E7=B1=BB=E7=AD=9B=E9=80=89=E7=8B=AC?= =?UTF-8?q?=E7=AB=8B=E5=87=BA=E6=9D=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/auto_pt/downloading.html | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/templates/auto_pt/downloading.html b/templates/auto_pt/downloading.html index 19ab478..74b0bee 100644 --- a/templates/auto_pt/downloading.html +++ b/templates/auto_pt/downloading.html @@ -180,7 +180,7 @@ { + let ff = this.$refs.dataTable.getCheckedFilters() + console.log(ff) + {#let filters = this.$refs.dataTable.isFilter()#} + {#let cls = this.$refs.dataTable.getCheckedFilters()#} + {#console.log('filters', filters)#} + {#console.log('cls', cls)#} this.get_downloading(this.downloaders[0].id) }, 1500) @@ -454,6 +460,9 @@ clearInterval(this.timer) this.timer = null }, 1000 * 60 * 10) + }, + beforeUpdated() { + }, // 清除定时器,不然页面会卡死 beforeDestroy() { @@ -635,6 +644,10 @@ const property = column['property']; return row[property] === value; }, + filterCategoryMethod({value, row, column}) { + const property = column['property']; + return row[property] === value; + }, filterTrackerMethod({value, row, column}) { const property = column['property']; return row[property].includes(value);