guhongwei 5 лет назад
Родитель
Сommit
cd9d293779
3 измененных файлов с 4 добавлено и 4 удалено
  1. 2 2
      src/router/index.js
  2. 2 2
      src/util/role_menu.js
  3. 0 0
      src/views/anchor/index.vue

+ 2 - 2
src/router/index.js

@@ -10,9 +10,9 @@ const routes = [
     component: () => import('../views/index.vue'),
   },
   {
-    path: '/user/index',
+    path: '/anchor/index',
     meta: { title: '用户管理' },
-    component: () => import('../views/user/index.vue'),
+    component: () => import('../views/anchor/index.vue'),
   },
   {
     path: '/role/index',

+ 2 - 2
src/util/role_menu.js

@@ -4,8 +4,8 @@ export const index = {
   icon: 'iconfont iconshouye',
 };
 export const user = {
-  name: '用户管理',
-  path: '/user/index',
+  name: '主播管理',
+  path: '/anchor/index',
   icon: 'iconfont iconyonghu',
 };
 export const role = {

src/views/user/index.vue → src/views/anchor/index.vue