From 7a40618acb00bf5864ae0314e13aeb84e07e80ec Mon Sep 17 00:00:00 2001 From: landjj321 <landjj321@126.com> Date: Wed, 24 Mar 2021 08:53:04 +0800 Subject: [PATCH] 世界电影 --- src/router/index.js | 21 +++++++++++++-------- 1 files changed, 13 insertions(+), 8 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 36231ba..855e29b 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -22,16 +22,21 @@ meta: { title: '网站建设中...' } }, { - path: '/music_cn', - component: () => import('@/views/music/music_china'), - meta: { title: '中国音乐...'} + path: '/music_cn', + component: () => import('@/views/music/music_china'), + meta: { title: '中国音乐...' } }, { - path: '/music_world', - component: () => import('@/views/music/music_word'), - meta: { title: '世界音乐...'} + path: '/music_world', + component: () => import('@/views/music/music_word'), + meta: { title: '世界音乐...' } }, - + { + path: '/film_cn', + component: () => import('@/views/film/film_china'), + meta: { title: '中国影视' } + }, + { path: '/', component: () => import('@/views/home/index'), @@ -49,7 +54,7 @@ const router = createRouter() // watch router change -router.beforeEach(async(to, from, next) => { +router.beforeEach(async (to, from, next) => { // set page title document.title = getPageTitle(to.meta.title) next() -- Gitblit v1.8.0