liujq 4 vuotta sitten
vanhempi
commit
309677b84f
3 muutettua tiedostoa jossa 4 lisäystä ja 3 poistoa
  1. 0 0
      dist/index.html
  2. 0 0
      dist/static/js/app.7bcc4639.js
  3. 4 3
      src/router/index.js

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/index.html


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
dist/static/js/app.7bcc4639.js


+ 4 - 3
src/router/index.js

@@ -241,7 +241,7 @@ function formateMenu (arr) {
         path: item.path,
         name: item.path,
         component: resolve => require([`@/views${item.path}`], resolve),
-        meta: { title: item.name, affix: true },
+        meta: { title: item.name },
       }
       if (item.menu_hidden === '2') cObj.hidden = true
       if (item.children && item.children.length > 0) {
@@ -273,7 +273,8 @@ const getMenu = () => {
           path: item.path,
           name: item.path,
           component: resolve => require([`@/views${item.path}`], resolve),
-          meta: { title: item.name, affix: true },
+          meta: { title: item.name },
+          // , affix: true
         }
       ]
       cObj.redirect = cObj.children[0].path
@@ -301,7 +302,7 @@ export const constantRoutes = [
       path: 'dashboard',
       name: 'Dashboard',
       component: () => import('@/views/dashboard/index'),
-      meta: { title: '首页', icon: 'dashboard' }
+      meta: { title: '首页', icon: 'dashboard', affix: true }
     }]
   },
   // ...moreRoutes,

Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä