guhongwei 4 years ago
parent
commit
e08d25fdf1
1 changed files with 14 additions and 2 deletions
  1. 14 2
      config/menu-config.js

+ 14 - 2
config/menu-config.js

@@ -92,9 +92,21 @@ const teacher = [
     ],
   },
   {
-    path: '/teaching/index',
-    name: '在线课堂',
+    path: '',
+    name: '在线授课管理',
     module: 'teacher',
+    children: [
+      {
+        path: '/teaching/index',
+        name: '直播讲课',
+        module: 'teacher',
+      },
+      {
+        path: '/teaching/afterClass',
+        name: '课后答疑',
+        module: 'teacher',
+      },
+    ],
   },
 ];
 export const menu = [