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);