|
@@ -7,11 +7,18 @@ Vue.use(VueRouter);
|
|
|
const routes = [
|
|
|
// 首页
|
|
|
{
|
|
|
- path: '/',
|
|
|
+ path: '/home/index',
|
|
|
name: '',
|
|
|
meta: { title: '首页', isleftarrow: false },
|
|
|
component: () => import('../views/home/index.vue'),
|
|
|
},
|
|
|
+ // 错误
|
|
|
+ {
|
|
|
+ path: '/home/error',
|
|
|
+ name: '',
|
|
|
+ meta: { title: '错误页面', isleftarrow: false },
|
|
|
+ component: () => import('../views/home/error.vue'),
|
|
|
+ },
|
|
|
// 直播大厅
|
|
|
{
|
|
|
path: '/live/index',
|