'全部'改名为'全站'

This commit is contained in:
haiyangcui
2020-11-11 21:42:40 +01:00
parent 682c706618
commit 9306adb60e
2 changed files with 3 additions and 3 deletions

View File

@@ -633,7 +633,7 @@ export default {
this.searchID += 1
var searchSites = []
if (this.searchGroup === '站内') searchSites.push(this.site)
if (this.searchGroup === '全') searchSites = this.sites
if (this.searchGroup === '全') searchSites = this.sites
if (!searchSites.length) {
searchSites = this.sites.filter(site => site.group === this.searchGroup)
}
@@ -714,7 +714,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.searchGroups.push('全')
this.searchGroup = this.setting.searchGroup
if (this.searchGroup === undefined) setting.find().then(res => { this.searchGroup = res.searchGroup })
})

View File

@@ -5,7 +5,7 @@ const setting = [
shortcut: true,
view: 'picture',
externalPlayer: '',
searchGroup: '全',
searchGroup: '全',
excludeRootClasses: true,
excludeR18Films: true,
forwardTimeInSec: 5,