This commit is contained in:
zyronon
2024-05-20 14:10:33 +08:00
parent 3c0a0df3bf
commit 8775997b6b
7 changed files with 404 additions and 82 deletions

View File

@@ -20,15 +20,19 @@ import OtherSetting from "@/pages/mobile/my/setting/OtherSetting.vue";
import WordHome from "@/pages/pc/word/WordHome.vue";
import PC from "@/pages/pc/index.vue";
import Dict2 from '@/pages/pc/dict2/index.vue'
import ArticleIndex from "@/pages/pc/article/ArticleIndex.vue";
import HomeIndex from "@/pages/pc/home/HomeIndex.vue";
export const routes: RouteRecordRaw[] = [
{
path: '/', component: PC,
redirect: '/word',
children: [
{path: 'home', component: HomeIndex},
{path: 'word', component: WordHome},
{path: 'dict', component: Dict2},
{path: 'practice', component: Practice},
{path: 'article', component: ArticleIndex},
]
},
{path: '/pc/dict', component: Dict},