|  | @@ -79,7 +79,7 @@ class Menu extends Auth
 | 
											
												
													
														|  |          $child = Dever::db('menu', 'manage')->select($where);
 |  |          $child = Dever::db('menu', 'manage')->select($where);
 | 
											
												
													
														|  |          if ($child) {
 |  |          if ($child) {
 | 
											
												
													
														|  |              foreach ($child as $v1) {
 |  |              foreach ($child as $v1) {
 | 
											
												
													
														|  | -                if ($v1['show'] <= 2 && $this->checkMenu($v1['id'])) {
 |  | 
 | 
											
												
													
														|  | 
 |  | +                if ($v1['level'] == 3 && $v1['show'] <= 2 && $this->checkMenu($v1['id'])) {
 | 
											
												
													
														|  |                      continue;
 |  |                      continue;
 | 
											
												
													
														|  |                  }
 |  |                  }
 | 
											
												
													
														|  |                  if (!$parent) {
 |  |                  if (!$parent) {
 | 
											
										
											
												
													
														|  | @@ -97,7 +97,7 @@ class Menu extends Auth
 | 
											
												
													
														|  |              $info['component'] = '@/dever/page/' . $v['path'];
 |  |              $info['component'] = '@/dever/page/' . $v['path'];
 | 
											
												
													
														|  |          }
 |  |          }
 | 
											
												
													
														|  |          if (!$child) {
 |  |          if (!$child) {
 | 
											
												
													
														|  | -            if ($v['show'] <= 2 && $this->checkMenu($v['id'])) {
 |  | 
 | 
											
												
													
														|  | 
 |  | +            if ($v1['level'] == 3 && $v['show'] <= 2 && $this->checkMenu($v['id'])) {
 | 
											
												
													
														|  |                  return false;
 |  |                  return false;
 | 
											
												
													
														|  |              }
 |  |              }
 | 
											
												
													
														|  |          }
 |  |          }
 |