From 05d71a62aa2e7d253dee2a1bf30948bb66956694 Mon Sep 17 00:00:00 2001 From: buvta <12312540+buvta@users.noreply.github.com> Date: Wed, 11 Nov 2020 08:29:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=90=9C=E7=B4=A2=E7=BB=93=E6=9E=9C=E8=BF=87?= =?UTF-8?q?=E6=BB=A4=E5=99=A8=E9=87=8D=E7=BD=AE=E6=97=B6=E5=8F=AA=E7=BB=99?= =?UTF-8?q?=E9=80=89=E5=AE=9A=E5=88=97=E6=B7=BB=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Film.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/Film.vue b/src/components/Film.vue index 00a72e7..32ffe9a 100644 --- a/src/components/Film.vue +++ b/src/components/Film.vue @@ -357,7 +357,9 @@ export default { const otherColumns = this.$refs.searchResultTable.columns.filter(col => col.id !== this.currentColumn.id) otherColumns.forEach(col => { col.filterable = false }) } else { - this.$refs.searchResultTable.columns.forEach(col => { col.filterable = true }) + const filterLabels = ['源站', '类型', '地区', '语言'] + const columns = this.$refs.searchResultTable.columns.filter(col => filterLabels.includes(col.label)) + columns.forEach(col => { col.filterable = true }) } }, siteClick (siteName) {