增加播客搜索地区配置

This commit is contained in:
mozhu 2024-01-04 11:52:45 +08:00
parent 9f909b0d85
commit 56eff7a236
21 changed files with 36 additions and 1 deletions

View file

@ -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,