reghao 7 месяцев назад
Родитель
Сommit
1158349c8e
1 измененных файлов с 7 добавлено и 0 удалено
  1. 7 0
      src/router/index.js

+ 7 - 0
src/router/index.js

@@ -33,6 +33,7 @@ const Chat = () => import('views/home/Chat')
 const Search = () => import('views/home/Search')
 const PlaylistIndex = () => import('views/home/PlaylistIndex')
 const PlaylistView = () => import('views/home/PlaylistView')
+const Discover = () => import('views/home/Discover')
 
 // ********************************************************************************************************************
 // 使用安装路由插件
@@ -177,6 +178,12 @@ const routes = [
         name: 'PlaylistView',
         component: PlaylistView,
         meta: { needAuth: false }
+      },
+      {
+        path: '/discover',
+        name: 'Discover',
+        component: Discover,
+        meta: { needAuth: false }
       }
     ]
   }