From 633ddfbd1a0a83f549553d8467241609037a5f78 Mon Sep 17 00:00:00 2001 From: YM <479443481@qq.com> Date: 星期六, 11 五月 2024 17:03:07 +0800 Subject: [PATCH] 组件通信 --- src/router/index.ts | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/router/index.ts b/src/router/index.ts index 7088b74..9664723 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -23,11 +23,16 @@ path: '/home', name: 'home', meta: { auth: true }, - component: Home, + component: Home + }, + { + path: '/dictionary', + name: 'dictionary', + meta: { auth: true }, + component: () =>import('@/views/components/dictionary.vue') } ] } - ] }) -- Gitblit v1.9.1