From 0243c2f0fe535f8eb24cd170ccadf443536aa7c2 Mon Sep 17 00:00:00 2001 From: haiyangcui Date: Mon, 7 Dec 2020 16:28:30 +0100 Subject: [PATCH] =?UTF-8?q?Fix:=20=E5=88=87=E6=8D=A2=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E6=97=B6,=E6=80=BB=E6=98=AF=E8=B0=83=E7=94=A8refreshFilteredLi?= =?UTF-8?q?st?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Film.vue | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/components/Film.vue b/src/components/Film.vue index 858df98..8bf3bb0 100644 --- a/src/components/Film.vue +++ b/src/components/Film.vue @@ -415,9 +415,6 @@ export default { list: { handler (list) { this.selectedClassName = this.type.name + ' ' + list.length + '/' + this.recordcount - if (!list.length) return - this.areas = [...new Set(list.map(ele => ele.area))].filter(x => x) - this.langs = [...new Set(list.map(ele => ele.lang))].filter(x => x) this.refreshFilteredList() }, deep: true @@ -576,8 +573,7 @@ export default { FILM_DATA_CACHE[cacheKey] = { pagecount: this.pagecount, recordcount: this.recordcount, - list: this.list, - areas: this.areas + list: this.list } } })