Browse Source

feat: 新建了频道管理的文件夹和相关的路由配置(下一步,目录显示/内容编写)

zhangrenyuan/feature-20251104133449-现金管理二期
zhangrenyuan 3 weeks ago
parent
commit
3ec25129d3
  1. 30
      src/router/index.js
  2. 0
      src/views/channelManage/cart/cart.vue
  3. 0
      src/views/channelManage/fans/fans.vue
  4. 0
      src/views/channelManage/reward/reward.vue

30
src/router/index.js

@ -296,6 +296,7 @@ const routes = [
}
]
},
// 现金管理
{
path: '/moneyManage',
name: 'moneyManage',
@ -376,6 +377,35 @@ const routes = [
},
]
},
// 频道管理
{
path: '/channelManage',
name: 'channelManage',
meta: { permissionId: 124 },
children: [
// 打赏
{
path: 'reward',
name: "reward",
component: () => import("../views/channelManage/reward/reward.vue"),
meta: { permissionId: 125 }
},
// 铁粉
{
path: 'fans',
name: "fans",
component: () => import("../views/channelManage/fans/fans.vue"),
meta: { permissionId: 126 }
},
// 购物车
{
path: 'cart',
name: "cart",
component: () => import("../views/channelManage/cart/cart.vue"),
meta: { permissionId: 127 }
}
]
},
// 没有权限
{
path: '/noPermission',

0
src/views/channelManage/cart/cart.vue

0
src/views/channelManage/fans/fans.vue

0
src/views/channelManage/reward/reward.vue

Loading…
Cancel
Save