style:菜单样式
Showing
2 changed files
with
10 additions
and
10 deletions
| ... | @@ -25,11 +25,19 @@ export const constantRoutes = [ | ... | @@ -25,11 +25,19 @@ export const constantRoutes = [ |
| 25 | component: () => import('@/views/error-page/404'), | 25 | component: () => import('@/views/error-page/404'), |
| 26 | hidden: true | 26 | hidden: true |
| 27 | }, | 27 | }, |
| 28 | { path: '*', redirect: '/404', hidden: true } | ||
| 29 | ] | ||
| 30 | |||
| 31 | /** | ||
| 32 | * asyncRoutes | ||
| 33 | * the routes that need to be dynamically loaded based on user roles | ||
| 34 | */ | ||
| 35 | export const asyncRoutes = [ | ||
| 28 | { | 36 | { |
| 29 | path: '/', | 37 | path: '/', |
| 30 | component: Layout, | 38 | component: Layout, |
| 31 | redirect: '/home', | 39 | redirect: '/home', |
| 32 | hidden: true, | 40 | meta: { title: '首页', icon: 'fykf' }, |
| 33 | children: [ | 41 | children: [ |
| 34 | { | 42 | { |
| 35 | path: 'home', | 43 | path: 'home', |
| ... | @@ -39,14 +47,6 @@ export const constantRoutes = [ | ... | @@ -39,14 +47,6 @@ export const constantRoutes = [ |
| 39 | } | 47 | } |
| 40 | ] | 48 | ] |
| 41 | }, | 49 | }, |
| 42 | { path: '*', redirect: '/404', hidden: true } | ||
| 43 | ] | ||
| 44 | |||
| 45 | /** | ||
| 46 | * asyncRoutes | ||
| 47 | * the routes that need to be dynamically loaded based on user roles | ||
| 48 | */ | ||
| 49 | export const asyncRoutes = [ | ||
| 50 | { | 50 | { |
| 51 | path: '/businessHandling', | 51 | path: '/businessHandling', |
| 52 | id: '3', | 52 | id: '3', | ... | ... |
| ... | @@ -112,7 +112,7 @@ | ... | @@ -112,7 +112,7 @@ |
| 112 | // 没有子级 | 112 | // 没有子级 |
| 113 | .submenu-title-noDropdown { | 113 | .submenu-title-noDropdown { |
| 114 | background-color: transparent !important; | 114 | background-color: transparent !important; |
| 115 | margin-left: 20px; | 115 | margin-left: 15px; |
| 116 | padding-left: 10px !important; | 116 | padding-left: 10px !important; |
| 117 | color: $menuText; | 117 | color: $menuText; |
| 118 | 118 | ... | ... |
-
Please register or sign in to post a comment