Browse Source

feat: only admin can view the debugging

Casper Dai 3 years ago
parent
commit
af37a7a042
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/router/index.js

+ 1 - 0
src/router/index.js

@@ -201,6 +201,7 @@ export const asyncRoutes = [
   {
   {
     path: '/d',
     path: '/d',
     component: Layout,
     component: Layout,
+    meta: { roles: [Role.ADMIN] },
     children: [
     children: [
       {
       {
         path: '',
         path: '',