Cgm/add theme route (#1479)

* feat(sites): add theme route

* feat(sites): add theme route
This commit is contained in:
gimmyhehe 2024-03-11 10:47:53 +08:00 committed by GitHub
parent 90c2eb02ba
commit 20686d0a02
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ export default defineComponent({
const clickMenu = (menu) => {
if (menu.type === 'overview') {
router.push(`${import.meta.env.VITE_CONTEXT}${allPath}${lang}/overview`)
router.push(`${import.meta.env.VITE_CONTEXT}${allPath}${lang}/${theme}/overview`)
} else if (menu.type === 'docs') {
router.push(getTo('docs/', menu.key))
} else if (menu.type === 'components') {