liujq 4 년 전
부모
커밋
309677b84f
3개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제
  1. 0 0
      dist/index.html
  2. 0 0
      dist/static/js/app.7bcc4639.js
  3. 4 3
      src/router/index.js

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
dist/index.html


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 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,

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.