mirror of
				https://github.com/pure-admin/vue-pure-admin.git
				synced 2025-11-03 13:44:47 +08:00 
			
		
		
		
	fix: 修复导航tab过多导致关闭左侧标签页无法正常显示 (#454)
This commit is contained in:
		
							parent
							
								
									8fc9a4eca6
								
							
						
					
					
						commit
						b4456dc71a
					
				@ -193,13 +193,13 @@ function deleteDynamicTag(obj: any, current: any, tag?: string) {
 | 
				
			|||||||
  ): void => {
 | 
					  ): void => {
 | 
				
			||||||
    if (other) {
 | 
					    if (other) {
 | 
				
			||||||
      useMultiTagsStoreHook().handleTags("equal", [routerArrays[0], obj]);
 | 
					      useMultiTagsStoreHook().handleTags("equal", [routerArrays[0], obj]);
 | 
				
			||||||
      dynamicTagView();
 | 
					 | 
				
			||||||
    } else {
 | 
					    } else {
 | 
				
			||||||
      delAliveRouteList = useMultiTagsStoreHook().handleTags("splice", "", {
 | 
					      delAliveRouteList = useMultiTagsStoreHook().handleTags("splice", "", {
 | 
				
			||||||
        startIndex,
 | 
					        startIndex,
 | 
				
			||||||
        length
 | 
					        length
 | 
				
			||||||
      }) as any;
 | 
					      }) as any;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					    dynamicTagView();
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  if (tag === "other") {
 | 
					  if (tag === "other") {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user