mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-21 19:34:43 +02:00
增加播客搜索地区配置
This commit is contained in:
parent
9f909b0d85
commit
56eff7a236
21 changed files with 36 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue