Commit 74b024c2 by 无尘

feat: 增加路由

parent cfddfacf
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
* @version: 1.0.0 * @version: 1.0.0
* @Author: 无尘 * @Author: 无尘
* @Date: 2019-11-12 10:18:30 * @Date: 2019-11-12 10:18:30
* @LastEditors: 无尘 * @LastEditors : 无尘
* @LastEditTime: 2019-11-18 11:23:30 * @LastEditTime : 2020-01-02 11:02:26
*/ */
// import Vue from 'vue'; // import Vue from 'vue';
import Router from 'vue-router'; import Router from 'vue-router';
...@@ -38,6 +38,15 @@ export const constantRouterMap = [{ ...@@ -38,6 +38,15 @@ export const constantRouterMap = [{
redirect: 'shareIndex', redirect: 'shareIndex',
component: _import('index', 'index'), component: _import('index', 'index'),
children: [ children: [
// 宣传页
{
path: '/leaflets',
name: '分享首页宣传页',
component: _import('shareIndex', 'leaflets'),
meta: {
title: '分享首页宣传页'
}
},
// 分享首页 // 分享首页
{ {
path: '/shareIndex', path: '/shareIndex',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment