暂时隐藏Corporate Video菜单;增加年份选择区间

This commit is contained in:
wangyifeng 2025-05-23 11:52:04 +08:00
parent ece3be4bee
commit 2525ccb249
3 changed files with 12 additions and 4 deletions

View File

@ -32,10 +32,10 @@ export const useHeaderMenuConfig = () => {
label: t('header_menu.corporate_information.governance'),
key: 'governance',
},
{
label: t('header_menu.corporate_information.corporate_video'),
key: 'corporate_video',
},
// {
// label: t('header_menu.corporate_information.corporate_video'),
// key: 'corporate_video',
// },//现阶段不展示
],
},
{

View File

@ -47,6 +47,10 @@ const state = reactive({
label: 'All Years',
value: 'all_years',
},
...Array.from({ length: 2025 - 1990 + 1 }, (_, i) => {
const year = 2025 - i
return { label: String(year), value: String(year) }
})
], //
inputValue: '', //
})

View File

@ -54,6 +54,10 @@ const state = reactive({
label: 'All Years',
value: 'all_years',
},
...Array.from({ length: 2025 - 1990 + 1 }, (_, i) => {
const year = 2025 - i
return { label: String(year), value: String(year) }
}),
], //
inputValue: '', //
})