You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

31 lines
730 B

import { createRouter, createWebHistory } from 'vue-router'
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
routes: [
{
path: '/',
redirect: '/admin/landingList'
},
// 落地页活动管理
{
path: '/admin/landingList',
name: 'landingList',
component: () => import('../views/admin/landingList.vue'),
meta: {
title: '落地页活动管理',
}
},
// 落地页活动详情
{
path: '/admin/landingDetail/:id',
name: 'landingDetail',
component: () => import('../views/admin/landingDetail.vue'),
meta: {
title: '落地页活动详情',
}
}
],
})
export default router