暂时隐藏Corporate Video菜单;增加年份选择区间
This commit is contained in:
parent
ece3be4bee
commit
2525ccb249
@ -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',
|
||||
// },//现阶段不展示
|
||||
],
|
||||
},
|
||||
{
|
||||
|
@ -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: '', //输入值
|
||||
})
|
||||
|
@ -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: '', //输入值
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user