feat: add 微课视频 外链
This commit is contained in:
parent
b1e91c9c3e
commit
03fb3e38ae
@ -2,6 +2,7 @@
|
||||
export interface NavSecondaryItem {
|
||||
label: string
|
||||
to: string
|
||||
external?: boolean
|
||||
}
|
||||
</script>
|
||||
|
||||
@ -68,6 +69,8 @@ const isCurrentPath = (path: string) => {
|
||||
'text-neutral-400 dark:text-neutral-500': !isCurrentPath(nav.to),
|
||||
}"
|
||||
:to="nav.to"
|
||||
:external="nav.external"
|
||||
:target="nav.external ? '_blank' : undefined"
|
||||
>
|
||||
{{ nav.label }}
|
||||
</NuxtLink>
|
||||
|
@ -13,8 +13,9 @@ export const nav: NavSecondaryItem[] = [
|
||||
label: 'AI 出题',
|
||||
to: '/course/prep/quiz',
|
||||
},
|
||||
// {
|
||||
// label: '微视频制作',
|
||||
// to: '/course/prep/test',
|
||||
// },
|
||||
{
|
||||
label: '微视频制作',
|
||||
to: 'https://dh.fenshenzhike.com/',
|
||||
external: true,
|
||||
},
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user