将权限展示从前台个人中心移动到了后台管理首页

This commit is contained in:
xiaowang
2026-02-27 09:17:17 +08:00
parent 9607c186bd
commit 3e591b953b
6 changed files with 236 additions and 121 deletions
+6
View File
@@ -92,6 +92,12 @@ const router = createRouter({
component: () => import('../views/admin/ProductsView.vue'),
meta: { requiresAuth: true, isAdmin: true, hideNav: true, permissionCode: 'product:view' }
},
{
path: 'coupons',
name: 'admin-coupons',
component: () => import('../views/admin/CouponsView.vue'),
meta: { requiresAuth: true, isAdmin: true, hideNav: true, permissionCode: 'coupon:view' }
},
{
path: 'shops',
name: 'admin-shops',