Explorar o código

feat: only admin can view the debugging

Casper Dai %!s(int64=3) %!d(string=hai) anos
pai
achega
af37a7a042
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/router/index.js

+ 1 - 0
src/router/index.js

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