张延森 6 anos atrás
pai
commit
085a20e797
1 arquivos alterados com 14 adições e 11 exclusões
  1. 14
    11
      src/views/index.js

+ 14
- 11
src/views/index.js Ver arquivo

@@ -46,7 +46,7 @@ const pages = [
46 46
         component: () => import('./sysuser/userRole/list.vue'),
47 47
         meta: {
48 48
           menuShow: true,
49
-          title: '员工管理',
49
+          title: '人员角色',
50 50
         },
51 51
       },
52 52
       {
@@ -155,22 +155,25 @@ const pages = [
155 155
         ],
156 156
       },
157 157
       {
158
-        path: 'wordslist',
158
+        path: 'words',
159 159
         name: 'wordslist',
160 160
         component: () => import('./words/list.vue'),
161 161
         meta: {
162 162
           menuShow: true,
163 163
           title: '来访致辞',
164
+          hasChildren: true,
164 165
         },
165
-      },
166
-      {
167
-        path: 'wordsedit',
168
-        name: 'wordsedit',
169
-        component: () => import('./words/edit.vue'),
170
-        meta: {
171
-          menuShow: false,
172
-          title: '来访致辞编辑',
173
-        },
166
+        children: [
167
+          {
168
+            path: 'edit',
169
+            name: 'wordsedit',
170
+            component: () => import('./words/edit.vue'),
171
+            meta: {
172
+              menuShow: false,
173
+              title: '来访致辞编辑',
174
+            },
175
+          },
176
+        ],
174 177
       },
175 178
       {
176 179
         path: 'cartRecord',