|
|
@ -7,14 +7,14 @@ const monthCard = resolve => require(['@/view/month-card'], resolve) |
|
|
Vue.use(Router) |
|
|
Vue.use(Router) |
|
|
|
|
|
|
|
|
let router = new Router({ |
|
|
let router = new Router({ |
|
|
// mode: 'history',
|
|
|
|
|
|
routes: [ |
|
|
|
|
|
{ |
|
|
|
|
|
path: '/month-card', |
|
|
|
|
|
name: '领取优惠券', |
|
|
|
|
|
component: monthCard |
|
|
|
|
|
} |
|
|
|
|
|
] |
|
|
|
|
|
|
|
|
mode: 'history', |
|
|
|
|
|
routes: [ |
|
|
|
|
|
{ |
|
|
|
|
|
path: '/month-card', |
|
|
|
|
|
name: '领取优惠券', |
|
|
|
|
|
component: monthCard |
|
|
|
|
|
} |
|
|
|
|
|
] |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
// router.beforeEach((to, from, next) => {
|
|
|
// router.beforeEach((to, from, next) => {
|
|
|
|