框架
This commit is contained in:
27
src/router/merchant.js
Normal file
27
src/router/merchant.js
Normal file
@@ -0,0 +1,27 @@
|
||||
// const merchant = [
|
||||
// {
|
||||
// path: '/task-center',
|
||||
// name: 'task-center',
|
||||
// title: '任务中心',
|
||||
// icon: '',
|
||||
// component: () => import('../pages/merchant/pages/task-center/index.vue'),
|
||||
// children: [
|
||||
// {
|
||||
// path: '/reward-mission',
|
||||
// name: 'reward-mission',
|
||||
// title: '悬赏任务',
|
||||
// icon: '',
|
||||
// component: () => import('../pages/merchant/pages/task-center/reward-mission.vue'),
|
||||
// },
|
||||
// {
|
||||
// path: '/appointed-task',
|
||||
// name: 'appointed-task',
|
||||
// title: '任务指派',
|
||||
// icon: '',
|
||||
// component: () => import('../pages/merchant/pages/task-center/appointed-task.vue'),
|
||||
// }
|
||||
// ]
|
||||
// },
|
||||
// ]
|
||||
//
|
||||
// export default merchant;
|
||||
7
src/router/routes-map.js
Normal file
7
src/router/routes-map.js
Normal file
@@ -0,0 +1,7 @@
|
||||
const routesMap = {
|
||||
'task-center': import('../pages/merchant/pages/task-center/index.vue'),
|
||||
'reward-mission': import('../pages/merchant/pages/task-center/reward-mission.vue'),
|
||||
'appointed-task': import('../pages/merchant/pages/task-center/appointed-task.vue'),
|
||||
};
|
||||
|
||||
export default routesMap;
|
||||
Reference in New Issue
Block a user