修复“站内”时切换站点可搜索

This commit is contained in:
buvta
2020-12-12 12:56:55 +08:00
parent 97b6a8259f
commit db1b81243a

View File

@@ -556,7 +556,12 @@ export default {
siteClick (siteName) {
this.list = []
this.site = this.sites.find(x => x.name === siteName)
this.searchTxt = ''
if (this.searchGroup === '站内' && this.searchTxt) {
this.searchEvent()
return
} else {
this.searchTxt = ''
}
this.showFind = false
this.classList = []
if (FILM_DATA_CACHE[this.site.key]) {