diff --git a/src/locales/en-US.ts b/src/locales/en-US.ts index a63e550e..f56a0483 100644 --- a/src/locales/en-US.ts +++ b/src/locales/en-US.ts @@ -4232,8 +4232,6 @@ export default { zone: 'Region', year: 'Year', music: { - browse: 'Browse', - mode: { chart: 'Charts', tag: 'Categories' }, genre: { pop: 'Pop', rock: 'Rock', diff --git a/src/locales/zh-CN.ts b/src/locales/zh-CN.ts index 3e8380cf..8b796d9a 100644 --- a/src/locales/zh-CN.ts +++ b/src/locales/zh-CN.ts @@ -4168,8 +4168,6 @@ export default { zone: '地区', year: '年代', music: { - browse: '浏览', - mode: { chart: '排行榜', tag: '分类浏览' }, genre: { pop: '流行', rock: '摇滚', diff --git a/src/locales/zh-TW.ts b/src/locales/zh-TW.ts index 11298830..c28ccf62 100644 --- a/src/locales/zh-TW.ts +++ b/src/locales/zh-TW.ts @@ -4164,8 +4164,6 @@ export default { zone: '地區', year: '年代', music: { - browse: '瀏覽', - mode: { chart: '排行榜', tag: '分類瀏覽' }, genre: { pop: '流行', rock: '搖滾', diff --git a/src/views/discover/DoubanView.vue b/src/views/discover/DoubanView.vue index dec0467a..14e6d852 100644 --- a/src/views/discover/DoubanView.vue +++ b/src/views/discover/DoubanView.vue @@ -22,7 +22,6 @@ const doubanZone = ref('') // 年代 const doubanYear = ref('') const coverFilter = ref<'all' | 'with_cover'>('all') -const musicMode = ref<'chart' | 'tag'>('chart') const musicCategory = ref('流行') const musicZone = ref('') const musicSort = ref<'U' | 'S' | 'R' | 'O'>('U') @@ -146,8 +145,7 @@ const listParams = computed>(() => { return { count: 30, media_source: 'doubanmusic', - mode: musicMode.value, - tags: musicMode.value === 'tag' ? [musicCategory.value, musicZone.value].filter(Boolean).join(',') : '', + tags: [musicCategory.value, musicZone.value].filter(Boolean).join(','), douban_sort: musicSort.value, with_cover: coverFilter.value === 'with_cover', } @@ -164,7 +162,7 @@ watch([doubanCategory, doubanZone, doubanYear], () => { const currentKey = ref(0) // 类型和过滤参数变化后重新刷新列表 -watch([type, filterParams, coverFilter, musicMode, musicCategory, musicZone, musicSort], () => { +watch([type, filterParams, coverFilter, musicCategory, musicZone, musicSort], () => { if (!type.value) { type.value = 'movies' } @@ -259,15 +257,6 @@ watch([type, filterParams, coverFilter, musicMode, musicCategory, musicZone, mus