From c8795e2aa9ef25daf8f86742f20bb1cf37ca151f Mon Sep 17 00:00:00 2001 From: buvta <12312540+buvta@users.noreply.github.com> Date: Mon, 9 Nov 2020 21:35:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=88=86=E7=BB=84=E6=90=9C?= =?UTF-8?q?=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Film.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/Film.vue b/src/components/Film.vue index c10a3f6..6744a96 100644 --- a/src/components/Film.vue +++ b/src/components/Film.vue @@ -334,6 +334,8 @@ export default { if (this.searchTxt.length > 0 && this.searchGroup === '站内') { this.searchEvent() } else { + this.searchTxt = '' + this.show.find = false this.classList = [] this.type = {} this.getClass().then(res => { @@ -581,6 +583,7 @@ export default { this.searchContents = [] this.pagecount = 0 this.show.find = true + this.show.class = false this.statusText = ' ' if (wd) { searchSites.forEach(site => { @@ -648,6 +651,7 @@ export default { } } this.searchGroups = [...new Set(this.sites.map(site => site.group))] + if (this.searchGroups.length === 1) this.searchGroups = [] this.searchGroups.unshift('站内') this.searchGroups.push('全部') this.searchGroup = this.setting.searchGroup