zhongxiaoyu 2 жил өмнө
parent
commit
51f3d92211

+ 1 - 0
src/router/routes/routes-file-seven.js

@@ -3,6 +3,7 @@ import Layout from '@/layout'
 const uploadRoutes = {
 const uploadRoutes = {
   path: '/upload',
   path: '/upload',
   component: Layout,
   component: Layout,
+  meta: { roles: ['upload_page'] },
   children: [
   children: [
     {
     {
       path: '/upload',
       path: '/upload',