From 84052c4df8c853ce6d44470da074fe0c7ad044b6 Mon Sep 17 00:00:00 2001 From: hooray <304327508@qq.com> Date: Fri, 15 Jan 2021 00:05:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=A7=86=E9=A2=91=E6=95=99?= =?UTF-8?q?=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/modules/videos.example.js | 40 ++++++++++++++++++++++++++++ src/views/index.vue | 4 +-- src/views/videos_example/6.vue | 22 +++++++++++++++ src/views/videos_example/7.vue | 22 +++++++++++++++ 4 files changed, 86 insertions(+), 2 deletions(-) create mode 100644 src/views/videos_example/6.vue create mode 100644 src/views/videos_example/7.vue diff --git a/src/router/modules/videos.example.js b/src/router/modules/videos.example.js index 1c81043a..ab9ca34a 100644 --- a/src/router/modules/videos.example.js +++ b/src/router/modules/videos.example.js @@ -100,5 +100,45 @@ export default [ } } ] + }, + { + path: '/videos_example/6', + component: Layout, + meta: { + title: '06 - 和服务端交互' + }, + children: [ + { + path: '', + name: 'videosExampleVideo6', + component: () => import(/* webpackChunkName: 'videos_example' */ '@/views/videos_example/6'), + meta: { + title: '06 和服务端交互', + sidebar: false, + breadcrumb: false, + activeMenu: '/videos_example/6' + } + } + ] + }, + { + path: '/videos_example/7', + component: Layout, + meta: { + title: '07 - 路由和侧边栏导航' + }, + children: [ + { + path: '', + name: 'videosExampleVideo6', + component: () => import(/* webpackChunkName: 'videos_example' */ '@/views/videos_example/7'), + meta: { + title: '07 路由和侧边栏导航', + sidebar: false, + breadcrumb: false, + activeMenu: '/videos_example/7' + } + } + ] } ] diff --git a/src/views/index.vue b/src/views/index.vue index f61e2f0c..4e00d74c 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -13,7 +13,7 @@ - +
@@ -33,7 +33,7 @@
- +
diff --git a/src/views/videos_example/6.vue b/src/views/videos_example/6.vue new file mode 100644 index 00000000..03733c67 --- /dev/null +++ b/src/views/videos_example/6.vue @@ -0,0 +1,22 @@ +