mirror of
				https://github.com/dromara/RuoYi-Vue-Plus.git
				synced 2025-11-04 08:13:44 +08:00 
			
		
		
		
	修复五级以上菜单404问题
This commit is contained in:
		@@ -86,7 +86,7 @@ function filterChildren(childrenMap, lastRouter = false) {
 | 
			
		||||
  var children = []
 | 
			
		||||
  childrenMap.forEach((el, index) => {
 | 
			
		||||
    if (el.children && el.children.length) {
 | 
			
		||||
      if (el.component === 'ParentView') {
 | 
			
		||||
      if (el.component === 'ParentView' && !lastRouter) {
 | 
			
		||||
        el.children.forEach(c => {
 | 
			
		||||
          c.path = el.path + '/' + c.path
 | 
			
		||||
          if (c.children && c.children.length) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user