mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-14 01:08:22 +02:00
增加播客搜索地区配置
This commit is contained in:
@ -27,6 +27,16 @@ Vue.prototype.$languageCodeOptions = Object.keys(languageCodeMap).map(code => {
|
||||
value: code
|
||||
}
|
||||
})
|
||||
const podcastSearchRegionMap = {
|
||||
'us': { label: 'United States' },
|
||||
'cn': { label: '中国' },
|
||||
}
|
||||
Vue.prototype.$podcastSearchRegionOptions = Object.keys(podcastSearchRegionMap).map(code => {
|
||||
return {
|
||||
text: podcastSearchRegionMap[code].label,
|
||||
value: code
|
||||
}
|
||||
})
|
||||
|
||||
Vue.prototype.$languageCodes = {
|
||||
default: defaultCode,
|
||||
|
Reference in New Issue
Block a user